cordova-crosswalk-engine
cordova-crosswalk-engine copied to clipboard
Crosswork building failing
When I run:
cordova run android
The build process fails and gives me this error message:
FAILURE: Build failed with an exception.
-
What went wrong: A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_armv7DebugCompile'. Could not find any version that matches org.xwalk:xwalk_core_library:14+. Searched in the following locations: https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/ https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml Required by: :android:unspecified
-
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 7.259 secs
/home/hamid/Projects/doctor/platforms/android/cordova/node_modules/q/q.js:126 throw e; ^ Error code 1 for command: /home/hamid/Projects/doctor/platforms/android/gradlew with args: cdvBuildDebug,-b,/home/hamid/Projects/doctor/platforms/android/build.gradle,-PcdvBuildArch=arm,-Dorg.gradle.daemon=true ERROR running one or more of the platforms: Error: /home/hamid/Projects/doctor/platforms/android/cordova/run: Command failed with exit code 1 You may not have the required environment or OS to run this project
Could you visit the maven reop base on your network?
Similar discussion in https://github.com/infil00p/cordova-crosswalk-engine/issues/17#issuecomment-154509350
I seem to get a 404 while visiting the report.
Maybe a lot of corporations block HTTPS access, we are publishing the xwalk components to Maven central repository. There is a issue to be tracked in https://crosswalk-project.org/jira/browse/XWALK-5164
@fujunwei @hamidabdulmalik I am getting the same issue with the latest version:
`A problem occurred configuring root project 'android'.
Could not resolve all dependencies for configuration ':_armv7DebugCompile'. Could not find any version that matches com.android.support:support-v4:23.+. Searched in the following locations: https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml https://repo1.maven.org/maven2/com/android/support/support-v4/ https://download.01.org/crosswalk/releases/crosswalk/android/maven2/com/android/support/support-v4/maven-metadata.xml https://download.01.org/crosswalk/releases/crosswalk/android/maven2/com/android/support/support-v4/ file:/Users/Mirko/android-sdks/extras/android/m2repository/com/android/support/support-v4/maven-metadata.xml file:/Users/Mirko/android-sdks/extras/google/m2repository/com/android/support/support-v4/maven-metadata.xml file:/Users/Mirko/android-sdks/extras/google/m2repository/com/android/support/support-v4/ Required by: :android:unspecified Could not find any version that matches com.android.support:appcompat-v7:23.+. Searched in the following locations: https://repo1.maven.org/maven2/com/android/support/appcompat-v7/maven-metadata.xml https://repo1.maven.org/maven2/com/android/support/appcompat-v7/ https://download.01.org/crosswalk/releases/crosswalk/android/maven2/com/android/support/appcompat-v7/maven-metadata.xml https://download.01.org/crosswalk/releases/crosswalk/android/maven2/com/android/support/appcompat-v7/ file:/Users/Mirko/android-sdks/extras/android/m2repository/com/android/support/appcompat-v7/maven-metadata.xml file:/Users/Mirko/android-sdks/extras/google/m2repository/com/android/support/appcompat-v7/maven-metadata.xml file:/Users/Mirko/android-sdks/extras/google/m2repository/com/android/support/appcompat-v7/ Required by: :android:unspecified
`
Any suggestions? I looked at #17 but no luck
You’ll have to add the Android Support Library in your SDK. There are similar issue have reported in https://lists.crosswalk-project.org/pipermail/crosswalk-help/2016-January/001729.html.
Thanks, it works now