lnln1111 / android-apktool

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

ICS (4.0.3) LatinImeGoogle.apk decompile, then cannot build #272

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. apktool d LatinImeGoogle.apk out
2. apktool b out

What is the expected output? What do you see instead?
I expect clean build when I changed nothing.
I see lot of "error: No resource identifier found for attribute..." and finally 
"BrutException: could not exec command: [aapt,..."

What version of the product are you using? On what operating system?
1.4.3. windows (device used: Nexus S, ICS 4.0.3 IML74K)

Please provide any additional information below.
Based on what I googled - I think it can relate to package mismatch 
"com.google.android.inputmethod.latin" vs. "com.android.inputmethod.latin"... 
see AndroidManifest.xml <original-package...> element
I think the package has renamed in ICS.

When I mass renamed all "com.android.inputmethod.latin" into 
"com.google.android.inputmethod.latin" in all res/* files, apktool finally 
builds the APK, however it doesn't seem to be valid - no Google Keyboard in 
phone after restart...

Additional questions:
1. is an apk signing a must for system apps?
2. is zipalign a must?
3. should I remove the odex file or keep it?

Original issue reported on code.google.com by tom.hol...@gmail.com on 20 Dec 2011 at 10:35

GoogleCodeExporter commented 9 years ago
i find this bug too!
who can help?

Original comment by superuse...@gmail.com on 21 Dec 2011 at 6:23

GoogleCodeExporter commented 9 years ago
I tried to edit a single PNG from this apk, and reload after platform key 
signing [a must]. It instantly crashes, though does install.

Original comment by iamnotty...@gmail.com on 26 Dec 2011 at 6:32

GoogleCodeExporter commented 9 years ago
Same thing here.. 

Original comment by joshandn...@gmail.com on 2 Feb 2012 at 3:51

GoogleCodeExporter commented 9 years ago
This bug report is almost a year old and with no APK attached. Not much I can 
do. Feel free to open another.

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