Skip to content

Bugfix: extracting strings.xml in valid format

Compare
Choose a tag to compare
@DainisGorbunovs DainisGorbunovs released this 08 Jun 13:18
· 2 commits to master since this release
c107984

When rebuilding an Android application, the 'res/values/strings.xml' needs to be replaced with the resigned xml version resigned-strings.xml.

Then the application can be rebuilt with apktool:

$ apktool b -d apk -o app-unsigned.apk

In v0.0.2 this failed to work due to invalid symbols in the produced xml file. With v0.0.3 it works.

Another issue is that the original xml file may contain a string value which contains in <font color="#', which does not appear in the decoded output due to pyaxmlparser Python package. If this is a big issue, a workaround is to add an option to DeStringCare to use an already decoded xml input from apktool.