lnln1111 / android-apktool

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

When recompiling framework-res.apk every files are deleted #279

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Anytime i edit an xml the output is generally the same a messed up apk.

What is the expected output? What do you see instead?
for the modified xml to be intact as well as all other files.

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

Please provide any additional information below.
Whenever i edit an xml from the default framework-res.apk of a sony ericson 
xperia play (r800x version) the xml is deleted and whenever i edit an xml in 
the values folder all the values folders are deleted when the apk is recompiled.

Original issue reported on code.google.com by odst0...@gmail.com on 25 Dec 2011 at 10:09

GoogleCodeExporter commented 9 years ago
What do you do exactly? You decode an apk, xml files are decoded properly, then 
you run "apktool b" and xml files are deleted from a project dir?

Original comment by Brut.alll on 28 Dec 2011 at 12:36

GoogleCodeExporter commented 9 years ago
I decode then edit the xml files. When I build it doesnt give me any errors but 
it builds the apk without the modifed xml, when I edit an xml in the values 
folder it deletes all value folders from the compiled apk nothing in the 
project directory is deleted.

Original comment by odst0...@gmail.com on 28 Dec 2011 at 9:48

GoogleCodeExporter commented 9 years ago
res/values* are always missing in apk file - these xmls are stored differently. 
If you look into original apk then you will see the same. So what's your 
problem?

Original comment by Brut.alll on 28 Dec 2011 at 10:37

GoogleCodeExporter commented 9 years ago
apk is shrunk by over 3 megs(didnt notice that values wasnt stored like that 
never payed attention) and when the apk is pushed or flashed to phone causes 
boot loop.

Original comment by odst0...@gmail.com on 28 Dec 2011 at 6:52

GoogleCodeExporter commented 9 years ago
Old report, no apk. Locking.

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