Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/326.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 在本地部署与Android连接的应用程序引擎_Java_Android_Google App Engine_Google Cloud Endpoints - Fatal编程技术网

Java 在本地部署与Android连接的应用程序引擎

Java 在本地部署与Android连接的应用程序引擎,java,android,google-app-engine,google-cloud-endpoints,Java,Android,Google App Engine,Google Cloud Endpoints,我将按照上的说明在本地部署我的应用程序。当我执行步骤6时 Start the App Engine app (right click > Run as > Web Application). 我得到以下错误。有人知道我如何解决这个问题吗?我读了错误,但我不知道该做什么或在哪里做?有没有人有一套我可以遵循的说明 objc[1130]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMach

我将按照上的说明在本地部署我的应用程序。当我执行步骤6时

Start the App Engine app (right click > Run as > Web Application).
我得到以下错误。有人知道我如何解决这个问题吗?我读了错误,但我不知道该做什么或在哪里做?有没有人有一套我可以遵循的说明

objc[1130]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Missing required argument 'module[s]'
Google Web Toolkit 2.5.1
DevMode [-noserver] [-port port-number | "auto"] [-whitelist whitelist-string] [-blacklist blacklist-string] [-logdir directory] [-logLevel level] [-gen dir] [-bindAddress host-name-or-address] [-codeServerPort port-number | "auto"] [-server servletContainerLauncher[:args]] [-startupUrl url] [-war dir] [-deploy dir] [-extra dir] [-workDir dir] module[s] 

where 
  -noserver        Prevents the embedded web server from running
  -port            Specifies the TCP port for the embedded web server (defaults to 8888)
  -whitelist       Allows the user to browse URLs that match the specified regexes (comma or space separated)
  -blacklist       Prevents the user browsing URLs that match the specified regexes (comma or space separated)
  -logdir          Logs to a file in the given directory, as well as graphically
  -logLevel        The level of logging detail: ERROR, WARN, INFO, TRACE, DEBUG, SPAM, or ALL
  -gen             Debugging: causes normally-transient generated types to be saved in the specified directory
  -bindAddress     Specifies the bind address for the code server and web server (defaults to 127.0.0.1)
  -codeServerPort  Specifies the TCP port for the code server (defaults to 9997)
  -server          Specify a different embedded web server to run (must implement ServletContainerLauncher)
  -startupUrl      Automatically launches the specified URL
  -war             The directory into which deployable output files will be written (defaults to 'war')
  -deploy          The directory into which deployable but not servable output files will be written (defaults to 'WEB-INF/deploy' under the -war directory/jar, and may be the same as the -extra directory/jar)
  -extra           The directory into which extra files, not intended for deployment, will be written
  -workDir         The compiler's working directory for internal use (must be writeable; defaults to a system temp dir)
and 
  module[s]        Specifies the name(s) of the module(s) to host

我终于找到了问题所在

  • 右键单击项目并选择属性
  • 单击谷歌
  • 选择Web Toolkit
  • 取消选中“使用谷歌网络工具包”
  • 删除运行配置中的项目
  • 再次运行项目

我正在使用Android Studio,但右键单击项目时,我不确定属性选项在哪里。