将Crosswalk插件添加到Cordova项目后Could not resolve all dependencies for configuration ':_armv7DebugCompile'

在使用Cordova添加Crosswalk插件后,移除再重新添加可能导致打包错误。解决方法包括确认Cordova版本在5.0.0以上,定位到项目目录,删除Android平台,检查已安装插件,重新安装Crosswalk,然后添加Android平台,最终成功打包并进行测试。
摘要由CSDN通过智能技术生成

cordova 添加crosswalk插件后,remove插件,再次添加后,打包可能会出现该错误。错误日志为:

* 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-metada
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值