Skip to content

[BUG] ApkEditor Protect: decode error with big unicode character in dex name #3847

Open
@4ft35t

Description

@4ft35t

Information

  1. Apktool Version (apktool -version) - 2.11.1
  2. Operating System (Mac, Linux, Windows) - Mac
  3. APK From? (Playstore, ROM, Other) - Other
  4. Java Version (java --version) - 23.0.2 2025-01-21

Stacktrace/Logcat

apktool d 98e9f3443c60777079d7885c4159fc0858a90aa8.apk

I: Using Apktool 2.11.1 on 98e9f3443c60777079d7885c4159fc0858a90aa8.apk with 8 threads
I: Baksmaling classes.dex...
I: Baksmaling classes3.dex...
I: Baksmaling classes2.dex...
I: Baksmaling classes4.dex...
I: Baksmaling classes5.dex...
I: Baksmaling classes6.dex...
I: Baksmaling 0iT3deJLk6eEUmShl7r7/躙.dex...
I: Loading resource table...
W: Skipping unknown chunk data of size 264
I: Baksmaling 1hpALmadpQ6QV9dkODPx/奔.dex...
I: Baksmaling 1KZWEeTDZwX737pEKuB9/燳.dex...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Index 65681 out of bounds for length 6
	at brut.androlib.res.data.value.ResPluralsValue.<init>(SourceFile:39)
	at brut.androlib.res.decoder.ARSCDecoder.readResourceTable(SourceFile:97)
	at brut.androlib.res.decoder.ARSCDecoder.decode(SourceFile:79)
	at brut.androlib.res.data.ResTable.loadResPackagesFromApk(SourceFile:179)
	at brut.androlib.res.ResourcesDecoder.decodeResources(SourceFile:126)
	at brut.androlib.ApkDecoder.decodeResources(SourceFile:212)
	at brut.androlib.ApkDecoder.decode(SourceFile:83)
	at brut.apktool.Main.main(SourceFile:244)

APK

https://drive.google.com/file/d/15lNxSrCRT-V37TwSQUDRoeJmIGq10OGM/view
7z pass: apktool

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything? - Y
  2. If you are trying to install a modified apk, did you resign it? - Y
  3. Are you using the latest apktool version? - Y

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions