以下命令失败并终止程序。我是否理解adb shell命令尝试启动应用程序?
adb shell "am start -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000 -n com.test.test"
Logcat terminated with code 0, signal null
UiAutomator exited
Error: Command failed: adb ...
/bin/sh: /path/to/adb No such file or directory
答案 0 :(得分:0)
试试这个
adb shell "am start -S -a android.intent.action.MAIN -n com.test.test/android.intent.category.LAUNCHER"