google / smali

Other
212 stars 35 forks source link

Error while writing instruction at code offset 0x8 #16

Closed StillTogether closed 1 year ago

StillTogether commented 1 year ago

When I use versions 2.2.4 and 2.4.0, both occur the issue:

Caused by: org.jf.util.ExceptionWithContext: Error while writing instruction at code offset 0x8 at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1319) at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java:1042) ... 39 common frames omitted

Caused by: org.jf.util.ExceptionWithContext: Item not found.: (J)Ljava/util/Date; at org.jf.dexlib2.writer.pool.BaseIndexPool.getItemIndex(BaseIndexPool.java:54) at org.jf.dexlib2.writer.InstructionWriter.getReferenceIndex(InstructionWriter.java:561) at org.jf.dexlib2.writer.InstructionWriter.getReference2Index(InstructionWriter.java:546) at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:429) at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:1297) ... 40 common frames omitted

Could you help me?