lnln1111 / android-apktool

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

Help with Error codes? #300

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. simply decompiling then recompiling without touching the apk will produce 
the errors below

What is the expected output? What do you see instead?
I am trying to port the stock touchwiz email.apk to CM7 by integrating 
twframework into the app itself. The file is done, but building results in the 
below errors over and over. So i tried to simply decode the apk the build 
immediately after; still the same errors.

What version of the product are you using? On what operating system?
Win7x64. Newest SDK and Java

Please provide any additional information below.

Errors:

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, 
C:\Users\ANDYRO~1\AppData\Local\Temp\APKTOOL9147800020249124427.tmp, -I, 
C:\Users\<User Name>\apktool\framework\1.apk, -I, C:\Users\<User 
Name>\apktool\framework\2.apk, -S, c:\apktool\email\res, -M, 
c:\apktool\email\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:\Users\ANDYRO~1\AppData\Local\Temp\APKTOOL9147800020249124427.tmp, -I, 
C:\Users\<User Name>\apktool\framework\1.apk, -I, C:\Users\<User 
Name>\apktool\framework\2.apk, -S, c:\apktool\email\res, -M, 
c:\apktool\email\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)

Original issue reported on code.google.com by romp...@gmail.com on 5 Feb 2012 at 12:34

GoogleCodeExporter commented 9 years ago
If no resource errors, then there is smali issue. Check the smali.

Original comment by connor.tumbleson on 17 Nov 2012 at 2:23

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 29 Dec 2012 at 4:37