第一个Android应用程序的CodeNameOne生成提交错误
我刚刚尝试创建一个演示类型的新项目(Kitchen Sink),并尝试将其提交到服务器(Android Build),但它给出了下面的套接字错误 我甚至没有改变项目中的任何东西;这是原始的演示应用程序第一个Android应用程序的CodeNameOne生成提交错误,codenameone,Codenameone,我刚刚尝试创建一个演示类型的新项目(Kitchen Sink),并尝试将其提交到服务器(Android Build),但它给出了下面的套接字错误 我甚至没有改变项目中的任何东西;这是原始的演示应用程序 Jar也构建在本地文件夹中 我已从eclipse/codenameone属性登录到我的帐户 我有基本订阅费 我的网络连接也很好,没有使用代理 在CodeNameOne->Builds选项卡中看不到任何条目 这是我的Eclipse控制台的输出 Buildfile: F:/Setups/Eclip
- Jar也构建在本地文件夹中
- 我已从eclipse/codenameone属性登录到我的帐户
- 我有基本订阅费
- 我的网络连接也很好,没有使用代理李>
- 在CodeNameOne->Builds选项卡中看不到任何条目
Buildfile: F:/Setups/Eclipse/workspaceLatest/TestCodeNameOne\build.xml
copy-android-override:
copy-libs:
jar:
[echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller
[echo] code size and wider device support
[copy] Copying 7 files to F:\Setups\Eclipse\workspaceLatest\TestCodeNameOne\build\tmp
[javac] F:\Setups\Eclipse\workspaceLatest\TestCodeNameOne\build.xml:147: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 19 source files to F:\Setups\Eclipse\workspaceLatest\TestCodeNameOne\build\tmp
[javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 3 warnings
[jar] Building jar: F:\Setups\Eclipse\workspaceLatest\TestCodeNameOne\dist\TestCodeNameOne.jar
[javac] F:\Setups\Eclipse\workspaceLatest\TestCodeNameOne\build.xml:171: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
清除覆盖:
build-for-android-device:
[codeNameOne] You sent an android build without submitting a keystore. Notice that you will receive a build that is inappropriate for distribution (although it could be used for debugging purposes). For further details read http://www.codenameone.com/signing.html
[codeNameOne] Sending build request to the server, notice that the build might take a while to complete!
[codeNameOne] Sending build to account: myemailid@izealiant.com
[codeNameOne] java.net.SocketTimeoutException: Read timed out
[codeNameOne] at java.net.SocketInputStream.socketRead0(Native Method)
[codeNameOne] at java.net.SocketInputStream.socketRead(Unknown Source)
[codeNameOne] at java.net.SocketInputStream.read(Unknown Source)
[codeNameOne] at java.net.SocketInputStream.read(Unknown Source)
[codeNameOne] at sun.security.ssl.InputRecord.readFully(Unknown Source)
[codeNameOne] at sun.security.ssl.InputRecord.read(Unknown Source)
[codeNameOne] at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
[codeNameOne] at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
[codeNameOne] at sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
[codeNameOne] at sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
[codeNameOne] at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
[codeNameOne] at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source)
[codeNameOne] at com.codename1.build.client.BuildProcess.sendS3Build(BuildProcess.java:366)
[codeNameOne] at com.codename1.build.client.BuildProcess.sendRequestToServer(BuildProcess.java:43 [codeNameOne] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[codeNameOne] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[codeNameOne] at java.lang.reflect.Method.invoke(Unknown Source)
[codeNameOne] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:371)
[codeNameOne] at org.eclipse.ant.core.AntRunner.run(AntRunner.java:473)
[codeNameOne] at codenameoneplugin.actions.SendBuild$1.run(SendBuild.java:47)
[codeNameOne] at java.lang.Thread.run(Unknown Source)
BUILD FAILED
F:\Setups\Eclipse\workspaceLatest\TestCodeNameOne\build.xml:469: Error in server build process
Total time: 2 minutes 8 seconds
IDE和操作系统详细信息
IDE: Eclipse
Desktop OS: Windows 7
构建无法连接到amazon服务器以执行构建,请确保您具有正确/稳定的internet连接
如果您位于防火墙或代理之后,请确保在运行应用程序时在中定义它 构建无法连接到amazon服务器以执行构建,请确保您具有正确/稳定的internet连接 如果您位于防火墙或代理之后,请确保在运行应用程序时在中定义它