com.android.dx.cf.code.SimException: expected type long but found double

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

com.android.dx.cf.code.SimException: expected type long but found double
at com.android.dx.cf.code.BaseMachine.popArgs(BaseMachine.java:157)
at com.android.dx.cf.code.Simulator$SimVisitor.visitNoArgs(Simulator.java:287)
at com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:724)
at com.android.dx.cf.code.Simulator.simulate(Simulator.java:99)
at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:684)
at com.android.dx.cf.code.Ropper.doit(Ropper.java:639)
at com.android.dx.cf.code.Ropper.convert(Ropper.java:252)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:252)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:131)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:85)
at com.android.dx.command.dexer.Main.processClass(Main.java:369)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:346)
at com.android.dx.command.dexer.Main.access$400(Main.java:59)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:294)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:244)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
at com.android.dx.command.dexer.Main.processOne(Main.java:313)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:233)
at com.android.dx.command.dexer.Main.run(Main.java:185)
at com.android.dx.command.dexer.Main.main(Main.java:166)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.