How to start and stop android service from a adb shell?

前端 未结 11 1025
别跟我提以往
别跟我提以往 2020-12-07 16:32

I need to write a shell script to start and stop an android service .

11条回答
  •  [愿得一人]
    2020-12-07 17:13

    I can start service through

    am startservice com.xxx/.service.XXXService
    

    but i don't know how to stop it yet.

提交回复
热议问题