Open The0neThe0nly opened 2 years ago
Confirmed. Must have regressed during: https://github.com/iBotPeaches/Apktool/pull/2631
➜ 2703 aapt d --values resources com.depop_17089781_apps.evozi.com.apk | grep 'not_as_described'
spec resource 0x7f1203e9 com.depop:string/item_not_as_described: flags=0x00000004
spec resource 0x7f12054b com.depop:string/not_as_described: flags=0x00000004
resource 0x7f1203e9 com.depop:string/item_not_as_described: t=0x03 d=0x00003365 (s=0x0008 r=0x00)
resource 0x7f12054b com.depop:string/not_as_described: t=0x03 d=0x00000007 (s=0x0008 r=0x00)
resource 0x7f1203e9 com.depop:string/item_not_as_described: t=0x03 d=0x00003365 (s=0x0008 r=0x00)
resource 0x7f12054b com.depop:string/not_as_described: t=0x03 d=0x00000012 (s=0x0008 r=0x00)
resource 0x7f1203e9 com.depop:string/item_not_as_described: t=0x03 d=0x00003799 (s=0x0008 r=0x00)
resource 0x7f12054b com.depop:string/not_as_described: t=0x03 d=0x0000001e (s=0x0008 r=0x00)
resource 0x7f1203e9 com.depop:string/item_not_as_described: t=0x03 d=0x00004425 (s=0x0008 r=0x00)
resource 0x7f12054b com.depop:string/not_as_described: t=0x03 d=0x00000023 (s=0x0008 r=0x00)
resource 0x7f1203e9 com.depop:string/item_not_as_described: t=0x03 d=0x00003365 (s=0x0008 r=0x00)
resource 0x7f12054b com.depop:string/not_as_described: t=0x03 d=0x00000034 (s=0x0008 r=0x00)
resource 0x7f1203e9 com.depop:string/item_not_as_described: t=0x03 d=0x00004a43 (s=0x0008 r=0x00)
resource 0x7f12054b com.depop:string/not_as_described: t=0x03 d=0x00000037 (s=0x0008 r=0x00)
Marking as bug.
Information
apktool -version
) - 2.6.0For the given APK, two ampersands in
res/values/strings.xml
decode incorrectly. These decode as&
instead of&
They are embedded in a string within an html element within a string within an html element, looks like this:Stacktrace/Logcat
The error is in decoding, but building the incorrectly decoded file results in the following stacktrace (from APKLab):
Steps to Reproduce
apktool d depop.apk -o depop
APK
https://play.google.com/store/apps/details?id=com.depop&hl=en_US&gl=US