You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Joe Bowser (JIRA)" <ji...@apache.org> on 2017/09/19 21:41:00 UTC

[jira] [Comment Edited] (CB-13292) Cordova not building and returns this error- Could not resolve net.sf.kxml:kxml2:2.3.0

    [ https://issues.apache.org/jira/browse/CB-13292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16172379#comment-16172379 ] 

Joe Bowser edited comment on CB-13292 at 9/19/17 9:40 PM:
----------------------------------------------------------

What plugins are you currently using? Have you updated your SDK?  This looks like an issue with your system's setup.


was (Author: bowserj):
What plugins are you currently using? This looks like it's related to a third-party plugin that is using Google's Compatibility Library.

> Cordova not building and returns this error- Could not resolve net.sf.kxml:kxml2:2.3.0
> --------------------------------------------------------------------------------------
>
>                 Key: CB-13292
>                 URL: https://issues.apache.org/jira/browse/CB-13292
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-android, cordova-ubuntu
>    Affects Versions: cordova@7.0.0
>         Environment: Linux mint-18.2 64bit system
>            Reporter: Ashok S
>            Assignee: Joe Bowser
>              Labels: build, newbie
>             Fix For: cordova@7, 6.2.2, cordova@7.0.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org