brut.androlib.AndrolibException: Could not decode arsc file

GitHub | sandeepcmsm | 5 months ago
  1. 0

    apktool crash when processing arsc file

    GitHub | 1 year ago | nil1666
    brut.androlib.AndrolibException: Could not decode ars c file
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    11 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Expected: 0x001c0001, got: 0x00000001

      at brut.util.ExtDataInput.skipCheckChunkTypeInt()
    2. Apktool
      ARSCDecoder.decode
      1. brut.util.ExtDataInput.skipCheckChunkTypeInt(ExtDataInput.java:75)
      2. brut.util.ExtDataInput.skipCheckChunkTypeInt(ExtDataInput.java:73)
      3. brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
      4. brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:72)
      5. brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
      5 frames
    3. brut.androlib.res
      AndrolibResources.getResTable
      1. brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:555)
      2. brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:72)
      3. brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:64)
      3 frames
    4. Apktool
      ApkDecoder.decode
      1. brut.androlib.Androlib.getResTable(Androlib.java:64)
      2. brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:193)
      3. brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
      3 frames
    5. brut.apktool
      Main.main
      1. brut.apktool.Main.cmdDecode(Main.java:163)
      2. brut.apktool.Main.main(Main.java:81)
      2 frames