adb command and Monkey

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.