I'm trying to run unit tests on my Android app and I'm getting a NoClassDefFoundError when referencing 3rd party jars.
The classes in those jars are only referenced by the app itself, not the unit tests. The jars are on the apps classpath and have been exported in the eclipse settings to allow tyhem to be found by dependant apps - which, of course, the test app is.
Thanks in advance.
p.s. Please don't simply tell me that my jars aren't on the classpath - I can see that, I'm just not seeing how to get them on the c开发者_如何转开发lasspath...
Nevermind - it looks like I can use the google-api jars and they should work.
精彩评论