sky201503 / android-apktool-1

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

Error on build #342

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm getting an error when trying to build an apk that I just decoded with 
apktool.

C:\Users\Jesse\Downloads\apktool1.4.3>apktool build C:\Users\Jesse\Downloads\apk
tool1.4.3\decoded C:\Users\Jesse\Downloads\apktool1.4.3\test.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Jesse\Downloads\apktool1.4.3\decoded\res\values\styles.xml:84: error: E
rror: String types not allowed (at 'android:textUnderlineThickness' with value '
sans-serif-light').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Jesse\AppData\Local\Temp\A
PKTOOL4197153577694700959.tmp, -I, C:\Users\Jesse\apktool\framework\1.apk, -S, C
:\Users\Jesse\Downloads\apktool1.4.3\decoded\res, -M, C:\Users\Jesse\Downloads\a
pktool1.4.3\decoded\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Jesse\AppData\Local\Temp\APKTOOL4197153577694700959.tmp, -I, C:\Users\Jesse
\apktool\framework\1.apk, -S, C:\Users\Jesse\Downloads\apktool1.4.3\decoded\res,
 -M, C:\Users\Jesse\Downloads\apktool1.4.3\decoded\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more
Press any key to continue . . .

Original issue reported on code.google.com by MovieB...@gmail.com on 27 Aug 2012 at 12:29

GoogleCodeExporter commented 9 years ago
Fixed in v1.5.0

http://forum.xda-developers.com/showpost.php?p=31040851&postcount=382

Original comment by connor.tumbleson on 3 Sep 2012 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 15 Nov 2012 at 5:36