Build Submit Error for First Android App

35 views
Skip to first unread message

amitj...@gmail.com

unread,
Jul 12, 2016, 4:06:35 AM7/12/16
to CodenameOne Discussions
I just tried to Create a new project of Demo type (Kitchen Sink) and tried to Submit it (Android Build) to Server; But it is giving be the below Socket error. I have not even changed anything in the project; its the original Demo app. 
- I have signed in to my account from eclipse/codenameone properties.
- I have Basic Subscription

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

clean-override:

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: myem...@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.security.ssl.AppInputStream.read(Unknown Source)
[codeNameOne] at java.io.BufferedInputStream.fill(Unknown Source)
[codeNameOne] at java.io.BufferedInputStream.read1(Unknown Source)
[codeNameOne] at java.io.BufferedInputStream.read(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 sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
[codeNameOne] at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
[codeNameOne] at java.security.AccessController.doPrivileged(Native Method)
[codeNameOne] at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
[codeNameOne] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
[codeNameOne] at java.net.HttpURLConnection.getResponseCode(Unknown Source)
[codeNameOne] at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
[codeNameOne] at com.codename1.build.client.BuildProcess.uploadToS3(BuildProcess.java:338)
[codeNameOne] at com.codename1.build.client.BuildProcess.sendS3Build(BuildProcess.java:366)
[codeNameOne] at com.codename1.build.client.BuildProcess.sendRequestToServer(BuildProcess.java:433)
[codeNameOne] at com.codename1.build.client.CodeNameOneBuildTask.execute(CodeNameOneBuildTask.java:466)
[codeNameOne] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[codeNameOne] at sun.reflect.GeneratedMethodAccessor358.invoke(Unknown Source)
[codeNameOne] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[codeNameOne] at java.lang.reflect.Method.invoke(Unknown Source)
[codeNameOne] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[codeNameOne] at org.apache.tools.ant.Task.perform(Task.java:348)
[codeNameOne] at org.apache.tools.ant.Target.execute(Target.java:435)
[codeNameOne] at org.apache.tools.ant.Target.performTasks(Target.java:456)
[codeNameOne] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
[codeNameOne] at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
[codeNameOne] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[codeNameOne] at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:36)
[codeNameOne] at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
[codeNameOne] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:705)
[codeNameOne] at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:527)
[codeNameOne] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[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: Eclipse/IDEA
Desktop OS: Windows 7

Shai Almog

unread,
Jul 13, 2016, 1:23:11 AM7/13/16
to CodenameOne Discussions, amitj...@gmail.com
Reply all
Reply to author
Forward
0 new messages