ohio813 / smali

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

cant able to deodex #161

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What seems to be the problem?
java.lang.RuntimeException: regCount does not match the number of arguments of 
the method
        at org.jf.dexlib.Code.Format.Instruction35c.checkItem(Instruction35c.java:150)
        at org.jf.dexlib.Code.Format.Instruction35c.<init>(Instruction35c.java:76)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInvokeVirtualQuick(MethodAnalyzer.java:3520)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyzeInstruction(MethodAnalyzer.java:1032)
        at org.jf.dexlib.Code.Analysis.MethodAnalyzer.analyze(MethodAnalyzer.java:208)
        at org.jf.baksmali.Adaptors.MethodDefinition.addAnalyzedInstructionMethodItems(MethodDefinition.java:370)
        at org.jf.baksmali.Adaptors.MethodDefinition.getMethodItems(MethodDefinition.java:292)
        at org.jf.baksmali.Adaptors.MethodDefinition.writeTo(MethodDefinition.java:132)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeMethods(ClassDefinition.java:323)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeVirtualMethods(ClassDefinition.java:308)
        at org.jf.baksmali.Adaptors.ClassDefinition.writeTo(ClassDefinition.java:137)
        at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:201)
        at org.jf.baksmali.main.main(main.java:282)

What is the exact smali/baksmali command that you ran?
java -jar baksmali.jar -x android.policy.odex

What version of smali/baksmali are you using? What rom are you working
from?
latest 1.4.1
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 swapneel...@gmail.com on 16 Jan 2013 at 8:11

Attachments:

GoogleCodeExporter commented 9 years ago
It looks like you need to specify the api version with the -a option

Original comment by jesusfreke@jesusfreke.com on 14 Feb 2013 at 11:55

GoogleCodeExporter commented 9 years ago

Original comment by jesusfreke@jesusfreke.com on 14 Feb 2013 at 11:55

GoogleCodeExporter commented 9 years ago
so now by which option i specify api version..??

Original comment by swapneel...@gmail.com on 15 Feb 2013 at 5:24