求解:反编译apk出错 apktool d a.apk /a
I: Baksmaling...Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: Index: 28641
2423, Size: 7959
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithCont
ext.java:54)
at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:77)
at org.jf.dexlib.Code.InstructionWithReference.lookupReferencedItem(Inst
ructionWithReference.java:85)
at org.jf.dexlib.Code.InstructionWithReference.<init>(InstructionWithRef
erence.java:57)
at org.jf.dexlib.Code.Format.InstructionWithJumboReference.<init>(Instru
ctionWithJumboReference.java:51)
at org.jf.dexlib.Code.Format.Instruction52c.<init>(Instruction52c.java:6
3)
at org.jf.dexlib.Code.Format.Instruction52c.<init>(Instruction52c.java:4
2)
at org.jf.dexlib.Code.Format.Instruction52c$Factory.makeInstruction(Inst
ruction52c.java:91)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(Instructio
nIterator.java:82)
at org.jf.dexlib.CodeItem.readItem(CodeItem.java:154)
at org.jf.dexlib.Item.readFrom(Item.java:77)
at org.jf.dexlib.OffsettedSection.readItems(OffsettedSection.java:48)
at org.jf.dexlib.Section.readFrom(Section.java:143)
at org.jf.dexlib.DexFile.<init>(DexFile.java:431)
at org.jf.dexlib.DexFile.<init>(DexFile.java:267)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:49)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:34)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:74)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:89)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.lang.IndexOutOfBoundsException: Index: 286412423, Size: 7959
at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:75)
... 19 more
Error occured while retrieving the type_id_item item at index 286412423
Error occured at code address 0
code_item @0x162928
--------------------编程问答-------------------- 同求问题解决方案
补充:移动开发 , Android