2.2.2) -scbdeMac-mini:apktool Tomorrow$ java -jar ./apktool.jar b app-debug
I: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/res/values-v23/styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/AlertDialog'.
W:
W: /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/res/values-v23/styles.xml:9: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/DialogWindowTitle'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/h8/fsdly03d4pnfx8vvj9l_8q940000gn/T/brut_util_Jar_7734224011012191879.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 25, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, /var/folders/h8/fsdly03d4pnfx8vvj9l_8q940000gn/T/APKTOOL8087032693986459715.tmp, -0, arsc, -0, arsc, -I, /Users/scb/Library/apktool/framework/1.apk, -S, /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/res, -M, /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
at brut.androlib.Androlib.buildResources(Androlib.java:411)
at brut.androlib.Androlib.build(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/h8/fsdly03d4pnfx8vvj9l_8q940000gn/T/brut_util_Jar_7734224011012191879.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 25, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, /var/folders/h8/fsdly03d4pnfx8vvj9l_8q940000gn/T/APKTOOL8087032693986459715.tmp, -0, arsc, -0, arsc, -I, /Users/scb/Library/apktool/framework/1.apk, -S, /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/res, -M, /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:440)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/h8/fsdly03d4pnfx8vvj9l_8q940000gn/T/brut_util_Jar_7734224011012191879.tmp, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 25, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, /var/folders/h8/fsdly03d4pnfx8vvj9l_8q940000gn/T/APKTOOL8087032693986459715.tmp, -0, arsc, -0, arsc, -I, /Users/scb/Library/apktool/framework/1.apk, -S, /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/res, -M, /Users/scb/Documents/code/test2/xiemingtian/android_auto/apktool/app-debug/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
... 6 more
No
If this APK can be freely shared, please upload/attach a link to it.
file:app-debug.apk . https://pan.cloudhua.com/s/dvkqBk8xRxI 
apktool d, apktool b without changing anything? YESsorry for the mistake
new file link
file:app-debug.apk
https://pan.cloudhua.com/s/4ei9W1XBR7M
i have tried it on windows 10 and it works fine, maybe it is OS problem?
➜ Bug1425 apktool d app-debug.apk
I: Using Apktool 2.2.2 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...
➜ Bug1425 apktool b app-debug
I: Using Apktool 2.2.2
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...
➜ Bug1425
Seems you might have an outdated framework. Make sure to run apktool empty-framework-dir --force to refresh those.
Thanks a lot :)
Most helpful comment
Seems you might have an outdated framework. Make sure to run
apktool empty-framework-dir --forceto refresh those.