maoruibin / maoruibin/maoruibin.github.com

adb monkey 测试

Open
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

adb shell monkey -p com.moji.mjweather.alpha 
--ignore-crashes 
--ignore-timeouts 
--ignore-security-exceptions 
--pct-trackball 0 
--pct-nav 0 
--pct-majornav 0 
--pct-anyevent 0 
-v -v -v 
--throttle 
500 
1200000000 > E:\\monkey_log\\monkey_log.txt
adb shell monkey -p com.moji.mjweather -v 400000 -throttle 10 --pct-touch 30 -–pct-motion 20 -–pct-nav 20 -–pct-majornav 15 -–pct-appswitch 5 -–pct-anyevent 5 -–pct-trackball 5 -–pct-syskeys 0 '%s' --ignore-crashes --ignore-timeouts --ignore-security-exceptions > E:\monkey_log.txt

停止 Monkey

adb shell ;
ps | grep monkey;

利用上面命令可以查出 monkey 的进程 id,如下

shell   7772  185  277516 22244 ffffffff 4010a58c S com.Android.commands.monkey

可以看出是 7772,然后在 shell 下直接杀死

kill 7772

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue contains adb shell monkey commands and instructions for finding and killing the Monkey process, but it names no blog file or requested change. First inspect the repository's existing post structure and confirm whether this content should become a new article or update an existing one; done means the intended documentation is added in the project's established format.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.