我试图通过monkey runner命令提示符执行示例python程序,但面临一些问题

时间:2017-09-07 04:43:11

标签: java android

我正在尝试从CMD执行monkeyrunner命令 我安装了python和Android studio并相应地设置了环境路径 在cmd中运行monkeyrunner或monkeyrunner test1.py后,我得到以下输出

C:\用户\ sniloor \应用程序数据\本地\的Android \ SDK \工具> monkeyrunner 用法:java [-options] class [args ...]            (执行课程)    或java [-options] -jar jarfile [args ...]            (执行jar文件) 选项包括:     -d32使用32位数据模型(如果可用)     -d64使用64位数据模型(如果可用)     -client选择“客户端”VM     -server选择“服务器”VM                   默认VM是客户端。

-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
              A ; separated list of directories, JAR archives,
              and ZIP archives to search for class files.
-D<name>=<value>
              set a system property
-verbose:[class|gc|jni]
              enable verbose output
-version      print product version and exit
-version:<value>
              Warning: this feature is deprecated and will be removed
              in a future release.
              require the specified version to run
-showversion  print product version and continue
-jre-restrict-search | -no-jre-restrict-search
              Warning: this feature is deprecated and will be removed
              in a future release.
              include/exclude user private JREs in the version search
-? -help      print this help message
-X            print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
              enable assertions with specified granularity
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
              disable assertions with specified granularity
-esa | -enablesystemassertions
              enable system assertions
-dsa | -disablesystemassertions
              disable system assertions
-agentlib:<libname>[=<options>]
              load native agent library <libname>, e.g. -agentlib:hprof
              see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
              load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
              load Java programming language agent, see java.lang.instrument

-splash:<imagepath>
              show splash screen with specified image

有关m,请参阅http://www.oracle.com/technetwork/java/javase/documentation/index.html 矿石细节。

C:\用户\ sniloor \应用程序数据\本地\的Android \ SDK \工具&gt;

0 个答案:

没有答案