Astered / apktool

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

where is recompiled apk? #5

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I tried to recompile apk but was unable to find recompiled file. I got this 
error:
I: Smaling...
I: Building resources...
/sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/res/xml/com_android_vending.xml:1: error: 
Error parsing XML: not well-formed (invalid token)
Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 9, 
--target-sdk-version, 9, -F, 
/data/data/per.pqy.apktool/APKTOOL7322414022320085859.tmp, -x, -I, 
?/apktool/framework/1.apk, -S, /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/res, -M, /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/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: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 
9, --target-sdk-version, 9, -F, 
/data/data/per.pqy.apktool/APKTOOL7322414022320085859.tmp, -x, -I, 
?/apktool/framework/1.apk, -S, /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/res, -M, /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/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: 
[/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 9, 
--target-sdk-version, 9, -F, 
/data/data/per.pqy.apktool/APKTOOL7322414022320085859.tmp, -x, -I, 
?/apktool/framework/1.apk, -S, /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/res, -M, /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
    ... 6 more

I use the latest version of the program. My phone is LG with CM 10.1 installed 
on it.

Original issue reported on code.google.com by zvorc.bo...@gmail.com on 12 Aug 2013 at 6:00

GoogleCodeExporter commented 8 years ago
/sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/res/xml/com_android_vending.xml:1: error: 
Error parsing XML: not well-formed (invalid token)
What a clear error it is!The file /sdcard/APPS/Flashable zip 
files/com.dustinb.theme.cobalt-1_src/res/xml/com_android_vending.xml,at line 
1,have something wrong.You should also paste com_android_vending.xml

Original comment by dongfangxunlei@gmail.com on 13 Aug 2013 at 12:32

GoogleCodeExporter commented 8 years ago
Thanks.I missed that error line.Well,file is there but I changed one png 
file.At first I tried to delete this xml file because I don't want themed 
market and I  noticed error about vending.In the next try I put vendor xml file 
back and just edited one png file but still nothing. I should learn a little 
more about this... Sorry and thanks.

Original comment by zvorc.bo...@gmail.com on 13 Aug 2013 at 12:41

GoogleCodeExporter commented 8 years ago
P.S. I hope that this is a correct error report(I pressed "copy to clipboard" 
on error message) but it look like a error from the first try... Hm,I will try 
again.

Original comment by zvorc.bo...@gmail.com on 13 Aug 2013 at 12:48