[ 
https://issues.apache.org/jira/browse/CB-12066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15607778#comment-15607778
 ] 

Alexander Sorokin commented on CB-12066:
----------------------------------------

Investigation shows that this can be an issue related to synchronous shelljs 
execution.

> Paramedic sometimes hang on Windows when adding Android platform
> ----------------------------------------------------------------
>
>                 Key: CB-12066
>                 URL: https://issues.apache.org/jira/browse/CB-12066
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Paramedic
>    Affects Versions: Master
>            Reporter: Alexander Sorokin
>            Assignee: Alexander Sorokin
>              Labels: found-by-ci, triaged
>
> {noformat}
> cordova-paramedic: adding platform : 
> android@https://github.com/apache/cordova-android.git
> Warning: using prerelease version 6.4.1-dev (cordova-lib@6.4.1-dev)
> git cloning: https://github.com/apache/cordova-android.git
> Repository "https://github.com/apache/cordova-android.git"; checked out to git 
> ref "master".
> Warning: using prerelease platform android@6.1.0-dev.
> Use 'cordova platform add android@latest' to add the latest published version 
> instead.
> Adding android project...
> Creating Cordova project for the Android platform:
>       Path: platforms\android
>       Package: io.cordova.hellocordova
>       Name: HelloCordova
>       Activity: MainActivity
>       Android target: android-24
> Subproject Path: CordovaLib
> Android project created with cordova-android@6.1.0-dev
> Installing "cordova-plugin-device" for android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Starting a new Gradle Daemon for this build (subsequent builds will be 
> faster).
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 44.873 secs
> Installing "cordova-plugin-file-transfer" for android
> Installing "cordova-plugin-file" for android
> Fetching plugin "cordova-plugin-compat" via npm
> Installing "cordova-plugin-compat" for android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 5.454 secs
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 5.989 secs
> The Android Persistent storage location now defaults to "Internal". Please 
> check this plugin's README to see if your application needs any changes in 
> its config.xml.
> If this is a new application no changes are required.
> If this is an update to an existing application that did not specify an 
> "AndroidPersistentFileLocation" you may need to add:
>       "<preference name="AndroidPersistentFileLocation" value="Compatibility" 
> />"
> to config.xml in order for the application to find previously stored files.
>         
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 7.376 secs
> Installing "cordova-plugin-file-transfer-tests" for android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 10.043 secs
> Installing "cordova-plugin-paramedic" for android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 12.33 secs
> Installing "cordova-plugin-test-framework" for android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 7.115 secs
> Tests will use the following file transfer server address: 
> http://10.0.2.2:5000
> Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the 
> project
> Fetching plugin "cordova-plugin-whitelist@1" via npm
> Installing "cordova-plugin-whitelist" for android
> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
> JAVA_HOME=C:\Program Files\java\jdk1.8.0_112
> Subproject Path: CordovaLib
> Incremental java compilation is an incubating feature.
> :clean
> :CordovaLib:clean
> BUILD SUCCESSFUL
> Total time: 10.322 secs
>                This plugin is only applicable for versions of cordova-android 
> greater than 4.0. If you have a previous platform version, you do *not* need 
> this plugin since the whitelist will be built in.
> {noformat}
> It happens only with the master Android platform version and only on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to