I tried to patch youtube (v17.34.36) but faced and error during compiling resources. Device is Samsung s6 (android 6)
I only used the recommended patches.
Steps to reproduce
(Follow the 'How to build' guide)
Step 1. Select the youtube from storage
Step 2. Apply recommend patches
Step 3. Click Patch
Relevant log output
Repacking patched apk
Compiling resources
An error occurred! Aborting
Error:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/app/app.revanced.manager.flutter-1/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-BXUFNS/cache/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-BXUFNS/cache/build/resources.zip]
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:365)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:619)
at app.revanced.patcher.Patcher.save(Patcher.kt:126)
at app.revanced.manager.flutter.MainActivity.runPatcher$lambda-20(MainActivity.kt:212)
at app.revanced.manager.flutter.MainActivity.$r8$lambda$kxvfcFiIKARIH6oxYjk9gWWxjp0(MainActivity.kt)
at app.revanced.manager.flutter.MainActivity$$ExternalSyntheticLambda0.run(D8$$SyntheticClass)
at java.lang.Thread.run(Thread.java:818)
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/app/app.revanced.manager.flutter-1/lib/arm64/libaapt2.so, compile, --dir, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-BXUFNS/cache/res, --legacy, -o, /data/user/0/app.revanced.manager.flutter/cache/patcher/tmp-BXUFNS/cache/build/resources.zip]
at brut.util.OS.exec(OS.java:99)
at brut.androlib.res.AndrolibResources.aapt2Package(AndrolibResources.java:361)
... 6 more
Screenshots or videos
No response
Solution
No response
Additional context
Just so you know I have YT Vanced installed already, but I don't think that the issue here
Acknowledgements
[X] I have searched the existing issues and this is a new and no duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I filled out all of the requested information in this issue properly.
Type
Error while patching
Bug description
I tried to patch youtube (v17.34.36) but faced and error during compiling resources. Device is Samsung s6 (android 6)
I only used the recommended patches.
Steps to reproduce
(Follow the 'How to build' guide) Step 1. Select the youtube from storage Step 2. Apply recommend patches Step 3. Click Patch
Relevant log output
Screenshots or videos
No response
Solution
No response
Additional context
Just so you know I have YT Vanced installed already, but I don't think that the issue here
Acknowledgements