Java.lang.verifyerror how do I fix or even find out the root cause?

Edmund Rojas picture Edmund Rojas · May 27, 2013 · Viewed 16.9k times · Source

enter image description hereCurrently going through a nightmare attempting to fix a java.lang.verifyerror, was having issues with eclipse so I decided to uninstall and reinstall it, everything seemed normal until I tried to launch the app, thats when I noticed that I couldnt launch the app anymore, everytime I try to lauch it it crashes and gives me this error, however I have no clue what is causing it as the error log gives me little clues and I cant find any concrete answers on the internet, can anyone tell me what is wrong based on my logcat? any help will go a long way thanks

05-26 23:11:45.391: E/AndroidRuntime(624): FATAL EXCEPTION: main
05-26 23:11:45.391: E/AndroidRuntime(624): java.lang.VerifyError: com/vineline/second/OTweetApplication
05-26 23:11:45.391: E/AndroidRuntime(624):  at java.lang.Class.newInstanceImpl(Native Method)
05-26 23:11:45.391: E/AndroidRuntime(624):  at java.lang.Class.newInstance(Class.java:1319)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.Instrumentation.newApplication(Instrumentation.java:957)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.Instrumentation.newApplication(Instrumentation.java:942)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.LoadedApk.makeApplication(LoadedApk.java:477)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3909)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.ActivityThread.access$1300(ActivityThread.java:122)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1184)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.os.Handler.dispatchMessage(Handler.java:99)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.os.Looper.loop(Looper.java:137)
05-26 23:11:45.391: E/AndroidRuntime(624):  at android.app.ActivityThread.main(ActivityThread.java:4340)
05-26 23:11:45.391: E/AndroidRuntime(624):  at java.lang.reflect.Method.invokeNative(Native Method)
05-26 23:11:45.391: E/AndroidRuntime(624):  at java.lang.reflect.Method.invoke(Method.java:511)
05-26 23:11:45.391: E/AndroidRuntime(624):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
05-26 23:11:45.391: E/AndroidRuntime(624):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
05-26 23:11:45.391: E/AndroidRuntime(624):  at dalvik.system.NativeStart.main(Native Method)

Answer

G. Blake Meike picture G. Blake Meike · May 27, 2013

This is a problem with ADT v22. It is pretty hard to fix. There are some suggestions here: The CommonsBlog - Don't Manually Modify Your Eclipse Build Path... Except Now for R22 (thanks to StreetsOfBoston and CommonswareGuy)