How to start an application using android ADB tools?

后端 未结 11 1203
醉酒成梦
醉酒成梦 2020-11-22 07:23

How do I send an intent using Android\'s ADB tools?

11条回答
  •  没有蜡笔的小新
    2020-11-22 07:55

    Step 1: First get all the package name of the apps installed in your Device, by using:

    adb shell pm list packages

    Step 2: You will get all the package names, copy the one you want to start using adb.

    Step 3: Add your desired package name in the below command.

    adb shell monkey -p 'your package name' -v 500

    For Example:
    adb shell monkey -p com.estrongs.android.pop -v 500 to start the Es explorer.

提交回复
热议问题