@schuettla wrote:
I recently updated my cordova to version 5.x from 4.
Somehow the build process changed from using ant in version 4 to using gradle now - that is what i figured out.Now my android build is always failing with this strange error:
Could not resolve all dependencies for configuration ':classpath'.
Could not resolve com.android.tools.build:gradle:1.0.0+.
Required by:
:android:unspecified
Failed to list versions for com.android.tools.build:gradle.
Unable to load Maven meta-data from https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml.
Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml'.
peer not authenticatedI checked the maven.org URL mentioned and it is accessible.
Cordova CLI: 5.4.1
Gulp version: CLI version 3.9.0
Gulp local: Local version 3.9.0
Ionic Version: 1.0.0
Ionic CLI Version: 1.7.12
Ionic App Lib Version: 0.6.5
OS: Windows 7 SP1
Node Version: v4.2.3Any hints on this? THX
Posts: 2
Participants: 1