brut.androlib.AndrolibException: Could not decode arsc file

GitHub | parind | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    ADK Editor Java.io... Expected 0x001c0001 got 0x00000001

    GitHub | 7 months ago | parind
    brut.androlib.AndrolibException: Could not decode arsc file
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    apktool crash when processing arsc file

    GitHub | 1 year ago | nil1666
    brut.androlib.AndrolibException: Could not decode ars c file

    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.readTable(ARSCDecoder.java:73)
      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:538)
      2. brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:63)
      3. brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:55)
      3 frames
    4. Apktool
      ApkDecoder.decode
      1. brut.androlib.Androlib.getResTable(Androlib.java:64)
      2. brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:209)
      3. brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)
      3 frames
    5. brut.apktool
      Main.main
      1. brut.apktool.Main.cmdDecode(Main.java:165)
      2. brut.apktool.Main.main(Main.java:81)
      2 frames