Simply using apktool d and apktool b I get the following errors. I am not modifying the unpacked apk and this previously worked on earlier versions of the source apk. 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/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/res/values-v21/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/SegmentedButton'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/var/folders/d9/2dqlhlcd6hq6v6x7cj9pfq3m0000gn/T/brut_util_Jar_2868060030181813312.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, --version-code, 2008000, --version-name, 2.8.0, --no-version-vectors, -F, /var/folders/d9/2dqlhlcd6hq6v6x7cj9pfq3m0000gn/T/APKTOOL8172964557381333528.tmp, -0, assets/META-INF/AIR/extensions/com.oak.amazondevicemessaging/library.swf, -0, assets/META-INF/AIR/extensions/com.oak.amazondevicemessaging/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/pl.mateuszmackowiak.nativeANE.properties.SystemProperties/library.swf, -0, assets/META-INF/AIR/extensions/pl.mateuszmackowiak.nativeANE.properties.SystemProperties/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.milkmangames.extensions.GoogleServices/library.swf, -0, assets/META-INF/AIR/extensions/com.milkmangames.extensions.GoogleServices/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.freshplanet.AirAlert/library.swf, -0, assets/META-INF/AIR/extensions/com.freshplanet.AirAlert/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.amazon.device.iap.cpt.AmazonIapV2Extension/library.swf, -0, assets/META-INF/AIR/extensions/com.amazon.device.iap.cpt.AmazonIapV2Extension/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.jirbo.airadc.AirAdColony/library.swf, -0, assets/META-INF/AIR/extensions/com.jirbo.airadc.AirAdColony/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.illuzor.extensions.SharingExtension/library.swf, -0, assets/META-INF/AIR/extensions/com.illuzor.extensions.SharingExtension/META-INF/ANE/Android-ARM/library.swf, -0, res/raw/rgba8888, -0, res/raw/debuginfo, -0, arsc, -I, /Users/dave/Library/apktool/framework/1.apk, -S, /Users/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/res, -M, /Users/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/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/d9/2dqlhlcd6hq6v6x7cj9pfq3m0000gn/T/brut_util_Jar_2868060030181813312.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, --version-code, 2008000, --version-name, 2.8.0, --no-version-vectors, -F, /var/folders/d9/2dqlhlcd6hq6v6x7cj9pfq3m0000gn/T/APKTOOL8172964557381333528.tmp, -0, assets/META-INF/AIR/extensions/com.oak.amazondevicemessaging/library.swf, -0, assets/META-INF/AIR/extensions/com.oak.amazondevicemessaging/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/pl.mateuszmackowiak.nativeANE.properties.SystemProperties/library.swf, -0, assets/META-INF/AIR/extensions/pl.mateuszmackowiak.nativeANE.properties.SystemProperties/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.milkmangames.extensions.GoogleServices/library.swf, -0, assets/META-INF/AIR/extensions/com.milkmangames.extensions.GoogleServices/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.freshplanet.AirAlert/library.swf, -0, assets/META-INF/AIR/extensions/com.freshplanet.AirAlert/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.amazon.device.iap.cpt.AmazonIapV2Extension/library.swf, -0, assets/META-INF/AIR/extensions/com.amazon.device.iap.cpt.AmazonIapV2Extension/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.jirbo.airadc.AirAdColony/library.swf, -0, assets/META-INF/AIR/extensions/com.jirbo.airadc.AirAdColony/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.illuzor.extensions.SharingExtension/library.swf, -0, assets/META-INF/AIR/extensions/com.illuzor.extensions.SharingExtension/META-INF/ANE/Android-ARM/library.swf, -0, res/raw/rgba8888, -0, res/raw/debuginfo, -0, arsc, -I, /Users/dave/Library/apktool/framework/1.apk, -S, /Users/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/res, -M, /Users/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/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/d9/2dqlhlcd6hq6v6x7cj9pfq3m0000gn/T/brut_util_Jar_2868060030181813312.tmp, p, --forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, --version-code, 2008000, --version-name, 2.8.0, --no-version-vectors, -F, /var/folders/d9/2dqlhlcd6hq6v6x7cj9pfq3m0000gn/T/APKTOOL8172964557381333528.tmp, -0, assets/META-INF/AIR/extensions/com.oak.amazondevicemessaging/library.swf, -0, assets/META-INF/AIR/extensions/com.oak.amazondevicemessaging/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/pl.mateuszmackowiak.nativeANE.properties.SystemProperties/library.swf, -0, assets/META-INF/AIR/extensions/pl.mateuszmackowiak.nativeANE.properties.SystemProperties/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.milkmangames.extensions.GoogleServices/library.swf, -0, assets/META-INF/AIR/extensions/com.milkmangames.extensions.GoogleServices/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.freshplanet.AirAlert/library.swf, -0, assets/META-INF/AIR/extensions/com.freshplanet.AirAlert/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.amazon.device.iap.cpt.AmazonIapV2Extension/library.swf, -0, assets/META-INF/AIR/extensions/com.amazon.device.iap.cpt.AmazonIapV2Extension/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.jirbo.airadc.AirAdColony/library.swf, -0, assets/META-INF/AIR/extensions/com.jirbo.airadc.AirAdColony/META-INF/ANE/Android-ARM/library.swf, -0, assets/META-INF/AIR/extensions/com.illuzor.extensions.SharingExtension/library.swf, -0, assets/META-INF/AIR/extensions/com.illuzor.extensions.SharingExtension/META-INF/ANE/Android-ARM/library.swf, -0, res/raw/rgba8888, -0, res/raw/debuginfo, -0, arsc, -I, /Users/dave/Library/apktool/framework/1.apk, -S, /Users/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/res, -M, /Users/dave/git/OddSocks/FDT/OddSocksAmazon/build/temp/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
... 6 more
|