berkus / smali

Automatically exported from code.google.com/p/smali
0 stars 0 forks source link

Unsigned short value out of range #224

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?

F:\zn\apktool1.4.1\4034_sdd>java -jar smali-2.0.3.jar ./smali/ -o  c.dex

UNEXPECTED TOP-LEVEL EXCEPTION:
org.jf.util.ExceptionWithContext: Unsigned short value out of range: 65706
        at org.jf.dexlib2.writer.DexDataWriter.writeUshort(DexDataWriter.java:11
6)
        at org.jf.dexlib2.writer.InstructionWriter.write(InstructionWriter.java:
312)
        at org.jf.dexlib2.writer.DexWriter.writeCodeItem(DexWriter.java:980)
        at org.jf.dexlib2.writer.DexWriter.writeDebugAndCodeItems(DexWriter.java
:759)
        at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:214)
        at org.jf.dexlib2.writer.DexWriter.writeTo(DexWriter.java:192)
        at org.jf.smali.main.main(main.java:229)
What is the exact smali/baksmali command that you ran?

What version of smali/baksmali are you using? What rom are you working
from?
2.0.3
What is the airspeed velocity of an unladen swallow?

Please provide any additional information below: error messages, symptoms,
etc.

Original issue reported on code.google.com by qq845215...@gmail.com on 16 Oct 2014 at 11:53

GoogleCodeExporter commented 9 years ago
No one can solve this problem?

Original comment by zhengnan...@gmail.com on 20 Nov 2014 at 9:04

GoogleCodeExporter commented 9 years ago
It looks like you've reached limit of amount functions per one classes.dex.
I've got the same issue when i wanted to put together framework.jar and 
framework2.jar in one jar. 

Original comment by saars...@gmail.com on 8 Dec 2014 at 8:37

GoogleCodeExporter commented 9 years ago
As others mentioned, this looks like you've reached the method limit.

The error output here is admittedly sub-optimal. The overall bug to track that 
is issue 200

Original comment by jesusfreke@jesusfreke.com on 28 Dec 2014 at 10:20