Build in cloud failing

7 posts, 0 answers
  1. fr3dom
    fr3dom avatar
    3 posts
    Member since:
    Nov 2013

    Posted 30 Jan Link to this post

    When trying to build in cloud, the following is being displayed in the build log, and the build fails.

    [2017-01-30 09:45:53.617] Log (Info,Medium): User logged in as fr3domhealth@gmail.com
    [2017-01-30 09:45:53.617] Log (Info,High): Sending build request for project ACLTrial with parameters ProjectTypeGuids={070BCB52-5A75-4F8C-A973-144AF0EAFCC9}
    Platform=Android
    ProjectConfiguration=debug
    AcceptResults=Url;LocalPath
    BuildConfiguration=debug
    Framework=Cordova
    FrameworkVersion=4.0.0
    LiveSyncToken=bUyItv8IQGMwkt6r+7RZOoOEVH6gkMDcE6wX8AUD+et7YEsUxhg/avUzLmpQgsMuJMDMsXjj5AXzyy9CdnGYsS527Im3pQBK+M9mQDakLjNG0t5u0T+VmVoJlZfBD9n5.
    [2017-01-30 09:46:15.573] Log (Exception,High): Server build failed. Server output: Project "ACLTrial.tmp.proj" (default targets):
    Warning: Cannot include the following item(s) in your application: Plugins\WifiWizard-master\.gitignore. The build system treats items with a leading dot as hidden files or directories and does not process them. If you want to include these items in your application package, rename them and rebuild your app.
    android Build Tooling revision 2017.01.20.1r
    Build Tooling Hostname 1ac65e2dbc76
    Warning: FAILURE: Build failed with an exception.
    Warning: * What went wrong:
    A problem occurred configuring root project 'app'.
    Warning: > Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
    Warning: >
    Warning: Could not resolve org.xwalk:xwalk_core_library:18+.
    Warning: Required by:
    Warning: :app:unspecified
    Warning: >
    Warning: Could not resolve org.xwalk:xwalk_core_library:18+.
    Warning: >
    Warning: Failed to list versions for org.xwalk:xwalk_core_library.
    Warning: >
    Warning: Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
    Warning: >
    Warning: Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 403 from server: Forbidden
    Warning: * Try:
    Warning: Run with
    Warning: --stacktrace option to get the stack trace. Run with --info or
    Warning: --debug option to get more log output.
    Warning: /tmp/builds/anDXQ4xE69TKhCG0hc/app/cordova/node_modules/q/q.js:126
                        throw e;
                        ^
    Error code 1 for command: /tmp/builds/anDXQ4xE69TKhCG0hc/app/gradlew with args: cdvBuildDebug,-b,/tmp/builds/anDXQ4xE69TKhCG0hc/app/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildArch=armv7,-PcdvBuildMultipleApks=true
    Error: Build failed during execution
    Error: 'Build failed with error code 1'
    Done building project "ACLTrial.tmp.proj" -- FAILED.


  2. Sean
    Sean avatar
    1 posts
    Member since:
    Aug 2014

    Posted 30 Jan Link to this post

    I'm getting this error as well with my android builds. Just started happening this morning. I could build without issue last week.

     

    Project "xxxx" (default targets):
    android Build Tooling revision 2017.01.20.1r
    Build Tooling Hostname fe15e02f3dd9
    Warning: FAILURE: Build failed with an exception.
    Warning: * What went wrong:
    Warning: A problem occurred configuring root project 'app'.
    Warning: > Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
    Warning: >
    Warning: Could not resolve org.xwalk:xwalk_core_library:18+.
         Required by:
             :app:unspecified
          > Could not resolve org.xwalk:xwalk_core_library:18+.
             > Failed to list versions for org.xwalk:xwalk_core_library.
                > Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
                   > Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 403 from server: Forbidden

    * Try:
    Run with --stacktrace option to get the stack trace. Run with
    Warning: --info or --debug
    Warning: option to get more log output.
    Warning: /tmp/builds/cRUx9HZE0s4vhH849X/app/cordova/node_modules/q/q.js:126
                        throw e;
                        ^
    Error code 1 for command: /tmp/builds/cRUx9HZE0s4vhH849X/app/gradlew with args: cdvBuildDebug,-b,/tmp/builds/cRUx9HZE0s4vhH849X/app/build.gradle,-Dorg.gradle.daemon=true,-PcdvBuildArch=armv7,-PcdvBuildMultipleApks=true
    Error: Build failed during execution
    Error: 'Build failed with error code 1'
    Done building project "xxx" -- FAILED.

  3. Garo
    Admin
    Garo avatar
    136 posts

    Posted 01 Feb Link to this post

    Hello,

    I am unable to reproduce this faulty behavior when using the CrossWalk plugin. The error message leads me to believe that this might have been caused by a temporary connection problem. Can you confirm that you are still experiencing this issue? If this is the case, I would ask you to provide me with the Cordova version of your apps and the version of the CrossWalk plugin.

    Regards,
    Garo
    Telerik by Progress
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
  4. Pancho
    Pancho avatar
    3 posts
    Member since:
    Jul 2017

    Posted 05 Sep Link to this post

    Hi, I am having the same exact problem.
    Can't build from Web, Windows o CLI, same result. I really need to deliver this new build ASAp what can aI do?

    This is really bad. Something is going on with crosswalk, apparently ionic retired their support to it on their cli. Also I found this:
    https://stackoverflow.com/questions/46012838/ionic-3-project-and-plugin-crosswalk-error
    Not sure if its related.

    HELP.

    Project "***.tmp.proj" (default targets): Warning: FAILURE: Build failed with an exception. Warning: * What went wrong: A problem occurred configuring root project 'app'. Warning: > Could not resolve all dependencies for configuration ':_debugApkCopy'. Warning: > Warning: Could not resolve org.xwalk:xwalk_core_library:22+. Warning: Required by: Warning: :app:unspecified > Could not resolve org.xwalk:xwalk_core_library:22+. Warning: > Failed to list versions for org.xwalk:xwalk_core_library. > Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml. > Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 503 from server: Service Unavailable * Try: Warning: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Warning: Error: /mnt/storage/builds/skv3T8PpzWHHRyAFr9/app/gradlew: Command failed with exit code 1 Error output: FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'app'. > Could not resolve all dependencies for configuration ':_debugApkCopy'. > Could not resolve org.xwalk:xwalk_core_library:22+. Required by: :app:unspecified > Could not resolve org.xwalk:xwalk_core_library:22+. > Failed to list versions for org.xwalk:xwalk_core_library. > Unable to load Maven meta-data from https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml. > Could not GET 'https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'. Received status code 503 from server: Service Unavailable * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. at ChildProcess.whenDone (/mnt/storage/builds/skv3T8PpzWHHRyAFr9/app/cordova/node_modules/cordova-common/src/superspawn.js:169:23) at emitTwo (events.js:106:13) at ChildProcess.emit (events.js:191:7) at maybeClose (internal/child_process.js:852:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5) Error: Build failed during execution Error: 'Build failed with error code 2' Error: 'Build failed with error code 2' Done building project "***.tmp.proj" -- FAILED.

  5. Pancho
    Pancho avatar
    3 posts
    Member since:
    Jul 2017

    Posted 05 Sep Link to this post

    Cordova is 6.4.0, and Crosswalk would be the one installed on the properties screen. Can't find version.
    48 hours not being able to build
  6. Pancho
    Pancho avatar
    3 posts
    Member since:
    Jul 2017

    Posted 05 Sep Link to this post

    I feel that the problem is that 
    https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml

    is dead
  7. Garo
    Admin
    Garo avatar
    136 posts

    Posted 07 Sep Link to this post

    Hello Pancho,

    Your assumption is correct. This issue was caused by the Crosswalk plugin and the inability to download some of its dependencies. A GitHub issue, along with a Jira issue were opened from the community to report this problem. Unfortunately, the issue was outside the scope of Telerik Platform and there was nothing we could do to resolve it.

    Having said that, the Crosswalk team was able to provide a fix and you should not experience this issue anymore.

    Regards,
    Garo
    Progress Telerik
     

    Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

     
Back to Top