desword / android-apktool

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

Can not rebuild wechat.apk #570

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Apktool 2.0.0-Beta7 to decode com.tencent.mm-1.apk(command java -jar 
C:\BJEC\apktool.jar d com.tencent.mm-1.apk)
2. then build it without any change, build will fail

What is the expected output? What do you see instead?
Apktool stopped in the middle due to some error, pls refer to additional 
information section.

What version of the product are you using? On what operating system?
Product wechat 4.5. Operating system: windows 7

Please provide any additional information below.
output message at decode/rebuild atached. Is this some how related to aapt?

There are a lot of decode error message for png, and symbol not defined 
messages. Are these messages critical? Or only messages below are critical?

Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: 
[C:\Users\[.......]\AppData\Local\Temp\brut_util_Jar_6229155392429932563.tmp, 
p, --forced-package-id, 1, --min-sdk-version, 7, --target-sdk-version, 7, 
--version-code, 355, --version-name, 5.0.3.1, -F, 
C:\Users\[.......]\AppData\Local\Temp\APKTOOL3182732620586099548.tmp, -0, arsc, 
-I, C:\Users\[.......]\apktool\framework\1.apk, -S, 
C:\01-Work\temp\com.tencent.mm-1\res, -M, 
C:\01-Work\temp\com.tencent.mm-1\AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
    at brut.androlib.Androlib.buildResources(Androlib.java:362)
    at brut.androlib.Androlib.build(Androlib.java:285)
    at brut.androlib.Androlib.build(Androlib.java:258)
    at brut.apktool.Main.cmdBuild(Main.java:233)
    at brut.apktool.Main.main(Main.java:88)

Original issue reported on code.google.com by xwz7...@gmail.com on 15 Dec 2013 at 7:18

Attachments:

GoogleCodeExporter commented 9 years ago
Apk I tried to decode is available at my google driver, in case somebody wants 
to give a try.

https://drive.google.com/file/d/0ByKu62Mf-Z8PQnY5UWhVR09ab0E/edit?usp=sharing

Original comment by xwz7...@gmail.com on 15 Dec 2013 at 7:25

GoogleCodeExporter commented 9 years ago
Fix the bad PNG's / 9 patch images and this problem will go away.

Not a bug.

Original comment by connor.tumbleson on 17 Dec 2013 at 1:52