Exception in thread "main" org.jf.dexlib.Util.ExceptionWithContext: Index: 38527, Size: 281
at org.jf.dexlib.Util.ExceptionWithContext.withContext(ExceptionWithContext.java:54)
at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:77)
at org.jf.dexlib.Code.InstructionWithReference.lookupReferencedItem(InstructionWithReference.java:79)
at org.jf.dexlib.Code.InstructionWithReference.<init>(InstructionWithReference.java:57)
at org.jf.dexlib.Code.Format.Instruction22c.<init>(Instruction22c.java:59)
at org.jf.dexlib.Code.Format.Instruction22c.<init>(Instruction22c.java:40)
at org.jf.dexlib.Code.Format.Instruction22c$Factory.makeInstruction(Instruction22c.java:103)
at org.jf.dexlib.Code.InstructionIterator.IterateInstructions(InstructionIterator.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:76)
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: 38527, Size: 281
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.jf.dexlib.IndexedSection.getItemByIndex(IndexedSection.java:75)
... 18 more
Error occured while retrieving the field_id_item item at index 38527
Error occured at code address 0
code_item @0x5cb8
错误如上 ,本人菜鸟一枚,求大神指点,猜测是用自定义的apktool重新打包了,收到一遍类似的文章 http://bbs.pediy.com/showthread.php?t=174904 用上面的apktool回编 还是 报错 ,错误如下 :
Exception in thread "main" java.lang.NullPointerException
at complile.obfascator.TrapPicker.fileLooper(TrapPicker.java:35)
at complile.obfascator.TrapPicker.pickFieldFile(TrapPicker.java:24)
at brut.apktool.Main.cmdBuild(Main.java:234)
at brut.apktool.Main.main(Main.java:94)
求大神指点~!