-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XML entity shows up as "&" instead of "&" after repacking apk #50
Comments
I think it has something to do with #49 |
I confirmed this and will be fixed soon |
The issue seems to be fixed in APKEditor 1.2.6 |
I am having the issue is APKEditor 1.3.2 |
to add more details: I believe this line in resources.arsc.json is where the string is.
Here is how it looks on the phone: I guess my situations is a bit different because it doesnt show "&", it shows something else strange. link to apk: https://filetransfer.io/data-package/6UuDwzLZ#link Keep in mind that this is a system app and you probably cannot install it on your phone |
Describe the bug
It appears that APKEditor cannot correctly handle XML entities in resource strings.
String in source code:
<string name="test_string">\"Alma\" & Körte</string>
.Expected behaviour: The string should show up as
"Alma" & Körte
after repacking the apk.Actual behaviour: The string shows up as
"Alma" & Körte
after repacking the apk.To Reproduce
Steps to reproduce the behavior:
java -jar APKEditor-1.2.5.jar d -dex -i app-debug.apk
andjava -jar APKEditor-1.2.5.jar b -i app-debug_decompile_xml -o packed.apk
Log/Stacktrace
Used apk file
app-debug.apk.zip
Additional context
Source code for apk (android studio, new project, empty activity)
strings.xml
MainActivity.kt
The text was updated successfully, but these errors were encountered: