[Android Software Development] Tulsadiver:
Android O dp3 8.0.0 Nexus and Pixel both have a problem with the public IDs. The Public IDs are assembled in alphabetical order and given the wrong IDs. anim is on top of the order where attr should be. Will not recompile. With the following error ,,(same error when using Apktool itself instead of tma)

Edit: if I delete public.xml the id's are rebuilt in the correct order however the public id's in the smali files are hosed.

14-06-2017@1543 --- "_WorkArea3\_working\SystemUI.apk" recompile failed with no signature, using "apktool_2.2.3.jar"

I: Using Apktool 2.2.3

W: Could not find sources

I: Building resources...

W: A/ ( 5940): First type is not attr!

W:

W: This application has requested the Runtime to terminate it in an unusual way.

W: Please contact the application's support team for more information.

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\DWILLI~1\AppData\Local\Temp\brut_util_Jar_9126662517834218630.tmp, p, --forced-package-id, 127, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\DWILLI~1\AppData\Local\Temp\APKTOOL3532658388278811731.tmp, -0, arsc, -0, arsc, -I, C:\Users\dwilliams\AppData\Local\apktool\framework\1.apk, -S, C:\1myNewTicklemyandroid\TickleMyAndroid\_WorkArea3\_working\SystemUI.apk\res, -M, C:\1myNewTicklemyandroid\TickleMyAndroid\_WorkArea3\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:493)

at brut.androlib.Androlib.buildResources(Androlib.java:427)

at brut.androlib.Androlib.build(Androlib.java:326)

at brut.androlib.Androlib.build(Androlib.java:264)

at brut.apktool.Main.cmdBuild(Main.java:231)

at brut.apktool.Main.main(Main.java:84)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\DWILLI~1\AppData\Local\Temp\brut_util_Jar_9126662517834218630.tmp, p, --forced-package-id, 127, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\DWILLI~1\AppData\Local\Temp\APKTOOL3532658388278811731.tmp, -0, arsc, -0, arsc, -I, C:\Users\dwilliams\AppData\Local\apktool\framework\1.apk, -S, C:\1myNewTicklemyandroid\TickleMyAndroid\_WorkArea3\_working\SystemUI.apk\res, -M, C:\1myNewTicklemyandroid\TickleMyAndroid\_WorkArea3\_working\SystemUI.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:441)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:479)

... 5 more

Caused by: brut.common.BrutException: could not exec (exit code = 3): [C:\Users\DWILLI~1\AppData\Local\Temp\brut_util_Jar_9126662517834218630.tmp, p, --forced-package-id, 127, --min-sdk-version, 26, --target-sdk-version, 26, --version-code, 26, --version-name, 8.0.0, --no-version-vectors, -F, C:\Users\DWILLI~1\AppData\Local\Temp\APKTOOL3532658388278811731.tmp, -0, arsc, -0, arsc, -I, C:\Users\dwilliams\AppData\Local\apktool\framework\1.apk, -S, C:\1myNewTicklemyandroid\TickleMyAndroid\_WorkArea3\_working\SystemUI.apk\res, -M, C:\1myNewTicklemyandroid\TickleMyAndroid\_WorkArea3\_working\SystemUI.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:95)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:435)

... 6 more