Android java.lang.VerifyError? Android java.lang.VerifyError? java java

Android java.lang.VerifyError?


Look at LogCat and see what's causing the verifyerror. It's probably some method in a java.lang class that is not supported on the android SDK level you are using (for instance, String.isEmpty()).


From android-developers:

The output from "adb logcat" indicates the class that could not befound as well as the class that has the bad reference. The locationis identified down to the specific Dalvik instruction. The trick isto look in the logs above the exception.


Android uses a different class file format. Are you running the 3rd party JAR files through the "dx" tool that ships with the Android SDK?