apktool -version) -W: [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/AndroidManifest.xml:9: error: No resource identifier found for attribute 'autoVerify' in package 'android'
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/73/pc2yx9vj2yj6p411gldwfr3r0000gn/T/brut_util_Jar_715835828751781889.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 1, --version-name, 1.0, -F, /var/folders/73/pc2yx9vj2yj6p411gldwfr3r0000gn/T/APKTOOL7521204568345793784.tmp, -0, arsc, -0, arsc, -I, [redacted]/Library/apktool/framework/1.apk, -S, [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/res, -M, [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:473)
at brut.androlib.Androlib.buildResources(Androlib.java:407)
at brut.androlib.Androlib.build(Androlib.java:306)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/73/pc2yx9vj2yj6p411gldwfr3r0000gn/T/brut_util_Jar_715835828751781889.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 1, --version-name, 1.0, -F, /var/folders/73/pc2yx9vj2yj6p411gldwfr3r0000gn/T/APKTOOL7521204568345793784.tmp, -0, arsc, -0, arsc, -I, [redacted]/Library/apktool/framework/1.apk, -S, [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/res, -M, [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/73/pc2yx9vj2yj6p411gldwfr3r0000gn/T/brut_util_Jar_715835828751781889.tmp, p, --forced-package-id, 127, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 1, --version-name, 1.0, -F, /var/folders/73/pc2yx9vj2yj6p411gldwfr3r0000gn/T/APKTOOL7521204568345793784.tmp, -0, arsc, -0, arsc, -I, [redacted]/Library/apktool/framework/1.apk, -S, [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/res, -M, [redacted]/AutoVerifyTest/app/build/outputs/apk/target-apk.out/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more
apktool decode -fo target-apk.out app-debug.apkapktool build -fo output.apk target-apk.out/None
apktool d, apktool b without changing anything?➜ Bug1340 apktool d app-debug.apk
I: Using Apktool 2.2.1-4c93cb-SNAPSHOT on app-debug.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜ Bug1340 apktool b app-debug
I: Using Apktool 2.2.1-4c93cb-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
I: Copying unknown files/dir...
➜ Bug1340
This is an outdated framework problem. Will be solved in 2.2.1 release with new Android Nougat framework.
Hi @iBotPeaches, thanks for your response. Do you have a timeline for the release 2.2.1? We're currently trying to decide whether it's worth implementing a workaround or not.
It was suppose to be last weekend and now there is a hurricane incoming this weekend :/
Maybe 2 weeks?
In the meantime, follow these steps.
apktool if android-framework.jar. This will install to 1.apk and be Nougat compatible.
Most helpful comment
It was suppose to be last weekend and now there is a hurricane incoming this weekend :/
Maybe 2 weeks?
In the meantime, follow these steps.
apktool if android-framework.jar. This will install to1.apkand be Nougat compatible.