kitadai31 / revanced-patches-android6-7

YouTube ReVanced for Android 6.0-7.1
GNU General Public License v3.0
195 stars 15 forks source link

bug: Error while compiling resources [Android 6] #13

Closed azeem-io closed 1 year ago

azeem-io commented 1 year ago

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

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

kitadai31 commented 1 year ago

Android 6.0 can't use my ReVanced Manager sorry. Please use another way.