This is a migrated thread and some comments may be shown as answers.

Build in cloud failing

6 Answers 93 Views
Report a bug
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
fr3dom
Top achievements
Rank 1
fr3dom asked on 30 Jan 2017, 09:53 AM

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.


6 Answers, 1 is accepted

Sort by
0
Sean
Top achievements
Rank 1
answered on 30 Jan 2017, 03:29 PM

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.

0
Garo
Telerik team
answered on 01 Feb 2017, 01:22 PM
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.

 
0
Pancho
Top achievements
Rank 1
answered on 05 Sep 2017, 01:40 PM

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.

0
Pancho
Top achievements
Rank 1
answered on 05 Sep 2017, 01:45 PM
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
0
Pancho
Top achievements
Rank 1
answered on 05 Sep 2017, 03:24 PM
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
0
Garo
Telerik team
answered on 07 Sep 2017, 05:42 PM
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.

 
Tags
Report a bug
Asked by
fr3dom
Top achievements
Rank 1
Answers by
Sean
Top achievements
Rank 1
Garo
Telerik team
Pancho
Top achievements
Rank 1
Share this question
or