#2601·Apktool

[BUG] <annotation> tags are escaped to &lt;annotation> in plurals.xml

Author: FoseFxCreated Jun 30, 2021Updated Jul 25, 2025
LabelsBug

Information

  1. Apktool Version (apktool -version) - 2.5.0
  2. Operating System (Mac, Linux, Windows) - Linux
  3. APK From? (Playstore, ROM, Other) - Apkmirror

Steps to Reproduce

  1. Ensure app renders annotations properly
  2. apktool d
  3. Check res/values/plurals.xml to see all <annotation> tags are escaped to &lt;annotation>
  4. apktool b . --use-aapt2, sign and install
  5. App displays annotation string

Workaround

Replace all &lt;annotation with <annotation and &lt;/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

  1. Have you tried apktool d, apktool b without changing anything?

    Yes

  2. If you are trying to install a modified apk, did you resign it?

    Yes

  3. Are you using the latest apktool version?

    Yes