Can’t build and run an android test project created using “ant create test-project” when tested project has jars in libs directory

If you use Eclipse, a simpler approach is to not include your external library in the test project, but rather export it in the Eclipse Project settings. This will solve the issue

enter image description here

Time ago, I wrote a blog post explaining this:
http://juristr.com/blog/2010/06/android-instrumentation-test/

Leave a Comment