5,595,645 Members 44,379 Now Online
XDA Developers Android and Mobile Development Forum

APK recompile error

Tip us?
 
radji
Old
#1  
radji's Avatar
Senior Member - OP
Thanks Meter 78
Posts: 220
Join Date: Mar 2011
Location: San Diego, CA
Default APK recompile error

Howdy all. I posted this in the general Q&A sub forum over a month ago and never got a reply. Just looking for an update (or better apk decompiler/recompiler) so I will not get these errors. I've already tried APK Manager, Apk multitool, and Eclipse that came with the Android SDK. I'm all outta ideas.

Quote:
Originally Posted by radji View Post
Howdy all. Speak slowly and in small words...I'm not fluent in android.

I am retheming a mail app (as I've done about a dozen times before). This time during recompile, it spits out the value/dimension/string not allowed error. Is there an update to get around this? The only XML I edited in the whole app is the app name in the strings.

Code:
C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\res\values-v17\styles.xml:8: error: Error: Dimension types not allowed (at 'android:textUnderlineColor' with value '8.0dip').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\RaduG\AppData\Local\Temp\APKTOOL2763599769371012799.tmp, -0, arsc, -I, C:\Users\RaduG\apktool\framework\1.apk, -S, C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\res, -M, C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\AndroidManifest.xml]
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
	at brut.androlib.Androlib.buildResources(Androlib.java:283)
	at brut.androlib.Androlib.build(Androlib.java:206)
	at brut.androlib.Androlib.build(Androlib.java:176)
	at brut.apktool.Main.cmdBuild(Main.java:228)
	at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\RaduG\AppData\Local\Temp\APKTOOL2763599769371012799.tmp, -0, arsc, -I, C:\Users\RaduG\apktool\framework\1.apk, -S, C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\res, -M, C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\AndroidManifest.xml]
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
	at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
	... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\RaduG\AppData\Local\Temp\APKTOOL2763599769371012799.tmp, -0, arsc, -I, C:\Users\RaduG\apktool\framework\1.apk, -S, C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\res, -M, C:\Program Files (x86)\Android\sdk\other\..\projects\com.yahoo.mobile.client.android.mail-3.0.5.apk\AndroidManifest.xml]
	at brut.util.OS.exec(OS.java:89)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
	... 6 more
"Software and Cathedrals are much the same. First we build them, then we pray"
 
kennyglass123
Old
#2  
kennyglass123's Avatar
RC-RT Committee / Senior Moderator / Spider-Mod
Thanks Meter 23750
Posts: 26,405
Join Date: Nov 2010
Location: Right behind you!

 
DONATE TO ME
Questions and Help issues go in Q&A and Help section
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator

Twitter: @kennyglass123 - - - FORUM RULES - - - Support Autism Awareness here
The Following 2 Users Say Thank You to kennyglass123 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes