sky201503 / android-apktool2

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

Apk recompile error #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Decompile my apk.
2. Change ANY values or do even change nothing
3. Recompile

What is the expected output? What do you see instead?
After I launch the apk after changed,it is forced close.

What version of the product are you using? On what operating system?
1.4.1,windows xp

Please provide any additional information below.
I have checked the issue "Issue 100:    Don't escape @ and ? chars for 
non-reference XML attrs." But this issue is fixed.So please help to check 
what's the root cause?
I attach my apk.

error log below:
D:\install\signjob\packagetools\tool_my>apktool b amp
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'body_dial_moto' has no default translation in D:\install\
signjob\packagetools\tool_my\amp\res; found: en
I: Building apk file...

D:\install\signjob\packagetools\tool_my>
D:\install\signjob\packagetools\tool_my>apktool b amp
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...

Original issue reported on code.google.com by maguowei...@gmail.com on 25 Nov 2011 at 3:54

Attachments:

GoogleCodeExporter commented 9 years ago
I had no problem decompile and recompile your apk. I did not change anything.
make sure you install the currect framework-res.apk

Original comment by shauli.b...@gmail.com on 25 Nov 2011 at 8:05

GoogleCodeExporter commented 9 years ago
Hi,I am newer for apktool,and I has no idea about framework-res.apk. will this 
apk  affect the apktool result?

I just run two commands:
1. "apktool d amap_branch_1.2_testNet_unsign.apk amap",after this success,then:
2. "apktool b amap".
The 2nd command has aapt warning below:
"aapt: warning: string 'body_dial_moto' has no default translation in 
D:\install\
signjob\packagetools\tool_my\amap\res; found: en"
And I install the new generated apk and launch it,then my app is "force closed"

Thanks for your response.

Original comment by maguowei...@gmail.com on 25 Nov 2011 at 8:44

GoogleCodeExporter commented 9 years ago
Anybody can help me?

Original comment by maguowei...@gmail.com on 1 Dec 2011 at 7:32

GoogleCodeExporter commented 9 years ago
There is no bug, that is a warning.

Original comment by connor.tumbleson on 18 Nov 2012 at 4:56