Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VerifyError in android test-project build tools v17

Since installing v17 of the android build tools I am getting a VerifyError in my test project.

A short description of my project structure:

All jar files exist in my main projects libs folder

The test-project is a project that resides inside my main project

All Instrumentation tests exist in the same package as my activities.

I have one jar that is only needed for the test projects in my libs folder in the test project

Has anyone seen this? Its happening on all my projects since updating. Running the test produces an InstrumentationException: java.lang.VerifyError

like image 553
Bill Avatar asked Mar 22 '12 18:03

Bill


1 Answers

[email protected] made a temporary fix for an issue I reported: http://code.google.com/p/android/issues/detail?id=27608.

You can try to see if the new anttasks.jar file can fix your problem.

It fixed mine. NoClassDefFoundError when running Instrumentation test with ant

like image 54
Qi Fan Avatar answered Oct 21 '22 16:10

Qi Fan