Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crosswalk Could not resolve all dependencies for configuration ':_armv7DebugCompile'

I successfully build my application with cordova until a few days ago with Crosswalk 18+, today I have this error:

* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':_armv7DebugCompile'.
   > Could not resolve org.xwalk:xwalk_core_library:18+.
     Required by:
         :android:unspecified
      > Failed to list versions for org.xwalk:xwalk_core_library.
         > Unable to load Maven meta-data from https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml.
            > Could not GET 'https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml'.
               > peer not authenticated
      > 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'.
               > peer not authenticated

I've seen this other solution: Could not resolve all dependencies for configuration ':_armv7DebugCompile'

I installed already "Android support repository" and "Android support library" from SDK, I also made all available updates

Java version:

java version "1.8.0_77"
Java(TM) SE Runtime Environment (build 1.8.0_77-b03)
Java HotSpot(TM) 64-Bit Server VM (build 25.77-b03, mixed mode)

https://repo1.maven.org/maven2/org/xwalk/xwalk_core_library/maven-metadata.xml = Not found for me

Cordova config.xml (a part):

<preference name="xwalkVersion" value="18+" />
<preference name="android-targetSdkVersion" value="19"/>

Thank you

like image 698
Skar3 Avatar asked Apr 11 '16 15:04

Skar3


1 Answers

UPDATE

For some reason org.xwalk:xwalk_core_library_beta:18+ don't work for me (same error):

<preference name="xwalkVersion" value="org.xwalk:xwalk_core_library_beta:18+" />

I checked the latest version on maven repo: https://download.01.org/crosswalk/releases/crosswalk/android/maven2/org/xwalk/xwalk_core_library_beta/maven-metadata.xml

And i used a specific version (latest 18+):

<preference name="xwalkVersion" value="org.xwalk:xwalk_core_library_beta:18.48.477.11" />

That worked for me.

like image 156
Skar3 Avatar answered Nov 13 '22 05:11

Skar3