How to fix java.lang.VerifyError in Android for ADT-22
I had one problem when migrated to ADT-22.
I’ve renamed “lib” dir to “libs” and project compiled.
And when I run project on Android device the “java.lang.VerifyError” error crashes my app.
In the LogCat I saw that some of classes were rejected by Verifier: “Verifier rejected class …..”
And I found solution.
There problem in two checkboxes in project properties. Lets look the screenshots.
This screenshot show properties before fix:
And this screenshot after fixing:
To fix it you need put ticks near:
– Android Private Libraries
– Android X.X.X
Hope it help you
0 Comments