sky201503 / android-apktool-1

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

re-comp app aapt.exe Error #345

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.i comp the LGPhone_2c.apk is Success,but re-comp LGPhone_2c.apk is error.
2.other apps comp no this problem.
3.i change to apktool1.41\1.43  error also.

What is the expected output? What do you see instead?

W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\DOCUME~1\wczheng\LOCALS~1\Temp\A
PKTOOL4703072193648017035.tmp, -I, C:\Documents and Settings\wczheng\apktool\fra
mework\1.apk, -I, C:\Documents and Settings\wczheng\apktool\framework\2.apk, -S,
 C:\APKTOOL\LGPhone_2c\res, -M, C:\APKTOOL\LGPhone_2c\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:302)
        at brut.androlib.Androlib.buildResources(Androlib.java:249)
        at brut.androlib.Androlib.build(Androlib.java:172)
        at brut.androlib.Androlib.build(Androlib.java:155)
        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:\D
OCUME~1\wczheng\LOCALS~1\Temp\APKTOOL4703072193648017035.tmp, -I, C:\Documents a
nd Settings\wczheng\apktool\framework\1.apk, -I, C:\Documents and Settings\wczhe
ng\apktool\framework\2.apk, -S, C:\APKTOOL\LGPhone_2c\res, -M, C:\APKTOOL\LGPhon
e_2c\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more

What version of the product are you using? On what operating system?

apktool1.43 xp-32 bit
Please provide any additional information below.

Original issue reported on code.google.com by q573648...@gmail.com on 5 Oct 2012 at 10:40

Attachments:

GoogleCodeExporter commented 9 years ago
add the framework

Original comment by q573648...@gmail.com on 5 Oct 2012 at 10:56

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in Apktool v1.5.0

Original comment by connor.tumbleson on 16 Nov 2012 at 7:02