Stopping an Android app from console

前端 未结 11 699
情书的邮戳
情书的邮戳 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 10:01

    you can use the following from the device console: pm disable com.my.app.package which will kill it. Then use pm enable com.my.app.package so that you can launch it again.

提交回复
热议问题