Closed raymond8246 closed 5 months ago
I'm trying to patch youtube, but it keeps failing. Here's the log
- Device Info ReVanced Manager: 1.18.0 Model: Pixel Fold Android version: 14 Supported architectures: arm64-v8a Root permissions: Yes - Patch Info App: com.google.android.youtube v19.03.35 (Suggested: v19.03.35) Patches version: v4.0.2 Patches added: Default Patches removed: None Default patch options changed: None - Settings Allow changing patch selection: false Version compatibility check: true Show universal patches: true Patches source: revanced/revanced-patches Integration source: revanced/revanced-integrations - Logs Copying APK Reading APK Decoding app manifest Loading patches Merging integrations Deleting existing resource cache directory Decoding resources Executing patches Applied 61 patches Compiling patched dex files Compiled 8 dex files Compiling modified resources An error occurred: brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~dmveXCdyPfvwH88gjb3f5g==/app.revanced.manager.flutter-V2ff5uxG7MfoHkuWjujGsQ==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544019392, --version-name, 19.03.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.revanced.manager.flutter/cache/APKTOOL3257050396988991051.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/build/resources.zip] at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:246) at brut.androlib.AaptInvoker.invokeAapt(AaptInvoker.java:391) at app.revanced.patcher.data.ResourceContext.get(ResourceContext.kt:128) at app.revanced.patcher.Patcher.get(Patcher.kt:265) at app.revanced.manager.flutter.MainActivity.runPatcher$lambda$36(MainActivity.kt:371) at app.revanced.manager.flutter.MainActivity.$r8$lambda$wwTqh4bVDMuwAT_qXBREk8gLHGU(Unknown Source:0) at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda5.run(Unknown Source:24) at java.lang.Thread.run(Thread.java:1012) Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~dmveXCdyPfvwH88gjb3f5g==/app.revanced.manager.flutter-V2ff5uxG7MfoHkuWjujGsQ==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/aapt_temp_file, --package-id, 127, --min-sdk-version, 26, --target-sdk-version, 34, --version-code, 1544019392, --version-name, 19.03.35, --no-auto-version, --no-version-vectors, --no-version-transitions, --no-resource-deduping, --allow-reserved-package-id, -e, /data/user/0/app.revanced.manager.flutter/cache/APKTOOL3257050396988991051.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-SWOCSC/cache/build/resources.zip] at brut.util.OS.exec(OS.java:104) at brut.androlib.AaptInvoker.invokeAapt2(AaptInvoker.java:242) ... 7 more
No response
Patch a full APK.
On a related note, I think the log trimming is trimming away exceptions @BenjaminHalko
Bug description
I'm trying to patch youtube, but it keeps failing. Here's the log
Error logs
Solution
No response
Additional context
No response
Acknowledgements