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:

"Verifier rejected class" on Android before fixing

“Verifier rejected class” on Android before fixing

And this screenshot after fixing:

"Verifier rejected class" on Android fixed

“Verifier rejected class” on Android fixed

To fix it you need put ticks near:
– Android Private Libraries
– Android X.X.X

Hope it help you


0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.