[BUG] <annotation> tags are escaped to <annotation> in plurals.xml
Author: FoseFxCreated Jun 30, 2021Updated Jul 25, 2025
LabelsBug
Information
- Apktool Version (
apktool -version) - 2.5.0 - Operating System (Mac, Linux, Windows) - Linux
- APK From? (Playstore, ROM, Other) - Apkmirror
Steps to Reproduce
- Ensure app renders annotations properly
apktool d- Check
res/values/plurals.xmlto see all<annotation>tags are escaped to<annotation> apktool b . --use-aapt2, sign and install- App displays annotation string
Workaround
Replace all <annotation with <annotation and </annotation with </annotation in plurals.xml and the app behaves as it should.
APK
https://www.dropbox.com/s/4afhhkxrduttn9c/twitch-11.0.0.apk
Questions to ask before submission
- Have you tried
apktool d,apktool bwithout changing anything?Yes
- If you are trying to install a modified apk, did you resign it?
Yes
- Are you using the latest apktool version?
Yes
Source: iBotPeaches/Apktool