Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
cordova@7.0.0
-
Linux mint-18.2 64bit system
-
Patch, Important
Description
I have used quasar framework for my app and I have wrapped it with cordova. I have added the platform to android, and I get error when I build with cordova build android.
My build gives error as below,Error: /home/user/Projects/cordova/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve net.sf.kxml:kxml2:2.3.0.
Required by:
project : > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools.build:manifest-merger:25.2.3
project : > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools.ddms:ddmlib:25.2.3
project : > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools:sdklib:25.2.3 > com.android.tools.layoutlib:layoutlib-api:25.2.3
> Could not resolve net.sf.kxml:kxml2:2.3.0.
> Could not get resource 'https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
> Could not HEAD 'https://repo1.maven.org/maven2/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
> repo1.maven.org: Temporary failure in name resolution
> Could not resolve net.sf.kxml:kxml2:2.3.0.
> Could not get resource 'https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
> Could not HEAD 'https://jcenter.bintray.com/net/sf/kxml/kxml2/2.3.0/kxml2-2.3.0.pom'.
> jcenter.bintray.com: Temporary failure in name resolution
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
How to resolve this?