1

android.util.AndroidException: INSTRUMENTATION_FAILED:

view story
linux-howto

http://stackoverflow.com – I have a simple android app and I am testing it using my phone. So, there are two ways to do that : Using eclipse Using CLI Problem: When I run unit test case using Eclipse, it installs app on my phone at runtime and run junit test and after that if I use command on CLI: adb -d shell am instrument -w com.abc.xyz.test/android.test.InstrumentationTestRunner, it runs fine. However, if I directly run the above command in CLI without first running the unit test cases in Eclipse, I am getting error: android.util.AndroidException: INSTRUMENTATION_FAILED: com.abc.xyz.test/android.test.Instr (HowTos)