I tried this but it shows me the middle finger:
~/Software/android-sdk-linux_x86-1.6_r1/tools$ sudo ./monkeyrunner -v help.py Exception in thread "main" java.lang.IllegalArgumentException: Bad level "help.py" at java.util.logging.Level.parse(Level.java:336) at com.android.monkeyrunner.MonkeyRunnerOptions.processOptions(MonkeyRunnerOptions.java:130) at com.android.monkeyrunner.MonkeyRunnerStarter.main(MonkeyRunnerStarter.java:192)
It is on a freshly installed java, jdk, jre, Eclipse, AndroidSDK, ADT
Any ideas?
Why sudo ? You shouldn't use it. The other problem is that you are missing the log level for -v:
Usage: monkeyrunner [options] SCRIPT_FILE
-s MonkeyServer IP Address.
-p MonkeyServer TCP Port.
-v MonkeyServer Logging level (ALL, FINEST, FINER, FINE, CONFIG, INFO, WARNING, SEVERE, OFF)
Also, be sure you have help.py
in your current working directory or specify its path.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.