Stopping an Android app from console

前端 未结 11 700
情书的邮戳
情书的邮戳 2020-11-27 09:30

Is it possible to stop an Android app from the console? Something like:

adb stop com.my.app.package

It would speed up our testing process s

11条回答
  •  粉色の甜心
    2020-11-27 09:36

    In eclipse go to the DDMS perspective and in the devices tab click the process you want to kill under the device you want to kill it on. You then just need to press the stop button and it should kill the process.

    I'm not sure how you'd do this from the command line tool but there must be a way. Maybe you do it through the adb shell...

提交回复
热议问题