ADB devices viewing connected devices
ADB install package.apk
ADB Shell Monkey 1000 operates randomly 1000 times when the operation May
adb cannot be used, prompting Error:unknown host service solution
Solutions here http://blog.csdn.net/liguilicsdn/article/details/50902194
There will be feedback when this command executes
Events injected:1000 here if the value equals your input value then it is executed 1000 times, if it is less than your value then it indicates an exception occurred in the middle.
There are also notes such as//activityresuming (com.android.setting) record app from the front desk to the backstage and enter the foreground will record
ADB Logcat | grep start Here is Logcat which | is the meaning of the pipeline in Linux the output of the previous command as the next input, grep start is the log message containing start in the crawl log
adb shell monkey-p A66weding.com.jiehuntong 1000 to the specified package (your application) pressure 1000 times-P is the command abbreviation of the A66weding.com.jiehuntong is the package name of the app you specified
adb shell monkey-p a66weding.com.jiehuntong--throttle 1000 Explanation:--throttle 1000 is the interval between each instruction can also be written like this adb shell monkey -P A66weding.com.jiehuntong 1000 100 Here The front 1000 is the delay, 100 is the number of times
adb shell monkey-v-p a66weding.com.jiehuntong 1000-v means to list the commands that are executed in detail, as well as the percentage
adb shell monkey-v-P a66weding.com.jiehuntong--pct--touch--pct--touch Set the percentage of click events,
adb command and Monkey