Stopping an Android app from console

前端 未结 11 702
情书的邮戳
情书的邮戳 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:56

    I tried all answers here on Linux nothing worked for debugging on unrooted device API Level 23, so i found an Alternative for debugging From Developer Options -> Apps section -> check Do Not keep activities that way when ever you put the app in background it gets killed

    P.S remember to uncheck it after you finished debugging

提交回复
热议问题