How to run Android instrumentation tests from the command line (in Kubuntu)?

Posted by KK on Stack Overflow See other posts from Stack Overflow or by KK
Published on 2010-03-22T07:51:27Z Indexed on 2010/03/23 10:23 UTC
Read the original article Hit count: 295

We are able to run instrumentation tests of Android from the command line on Windows by launching:

adb shell 
am instrument -w <package.test>/android.test.InstrumentationTestRunner

This gives us good results.

Using the same architecture, we are unable to run the same in Kubuntu. We have the same setup in Kubuntu.

  1. Can someone let us know, if there are packages with same name.. Then what package will the adb shell point?
  2. How will the emulator connect with adb shell from cmd line?
  3. DO we need to do any changes to do so in Kubuntu ?

© Stack Overflow or respective owner

Related posts about android-emulator

Related posts about android