I kept getting an issue where youtube would stop buffering after around one minute and so went to update the manager and then re-install YT and YT Music. I did that just fine with YT and the issue seems to be gone (though I’ve only barely tested it, but regardless that’s not the issue at hand). However, YT Music fails to patch. All the patches appear to go through (“Applied”), but an error occurs on “Compiling resources”.
I’ve tried 3 of the latest YT Music apks to patch.
Here’s the error:
Initializing installer
Creating working directory
Copying original apk
Unpacking input apk
Reading dex files
Decoding AndroidManifest.xml only, because resources are not needed
Merging integrations
Deleting existing resource cache directory
Decoding resources
Executing patches
Applied Background play
Applied Bypass certificate checks
Applied Codecs unlock
Applied Exclusive audio playback
Applied Hide get premium
Applied Minimized playback music
Applied Music video ads
Applied Upgrade button remover
Applied Vanced MicroG support
Repacking patched apk
Compiling resources
An error occurred! Aborted
Error:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/~~cOsHdudq9VOmloDGwKZGTQ==/app.revanced.manager.flutter-sXh4vm8w4Q2J38Oz1y3LOw==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/aapt_temp_file, --min-sdk-version, 21, --target-sdk-version, 33, --version-code, 61352240, --version-name, 6.13.52, --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/APKTOOL744672221559764561.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/build/resources.zip]
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:484)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:619)
at app.revanced.patcher.Patcher.save(Patcher.kt:128)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda-32(MainActivity.kt:276)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$efRWk2Z7aIFbIqnpE9hv8LpAiuk(Unknown Source:0)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda13.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/~~cOsHdudq9VOmloDGwKZGTQ==/app.revanced.manager.flutter-sXh4vm8w4Q2J38Oz1y3LOw==/lib/arm64/libaapt2.so, link, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/aapt_temp_file, --min-sdk-version, 21, --target-sdk-version, 33, --version-code, 61352240, --version-name, 6.13.52, --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/APKTOOL744672221559764561.tmp, -0, arsc, -I, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/1.apk, --manifest, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/AndroidManifest.xml, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-QDVNZP/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:99)
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:480)
... 6 more
Any idea?
You must log in or # to comment.