cordova build出现的问题CordovaLib:classpath
cordova buid出现问题,问题如下?
上代码:
A problem occurred configuring project ':CordovaLib'.
Could not resolve all artifacts for configuration ':CordovaLib:classpath'.
Could not download gradle-bintray-plugin.jar (com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3)
Could not get resource 'https://jcenter.bintray.com/c...'.
Could not GET 'https://jcenter.bintray.com/c...'. Received status code 400 from server: Bad Request
Could not download http-builder.jar (org.codehaus.groovy.modules.http-builder:http-builder:0.7.2)
Could not get resource 'https://jcenter.bintray.com/o...'.
Could not GET 'https://jcenter.bintray.com/o...'. Received status code 400 from server: Bad Request
Could not download json-lib-jdk15.jar (net.sf.json-lib:json-lib:2.3)
Could not get resource 'https://jcenter.bintray.com/n...'.
Could not GET 'https://jcenter.bintray.com/n...'. Received status code 400 from server: Bad Request
附赠截图
求教
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
你的Android环境确认配置好了么?
看样子是
gradle
出问题了。大概率是因为墙的原因导致
gradle
没下载成功,打开Android Studio
,看看左下角gradle下载好没,或者试试能不能打包运行Hello world
项目是build.gradle的问题,路径是:..\platforms\android\CordovaLib\build.gradle
下载build.gradle,直接替换掉原来的文件即可。亲测,可用。
build.gradle下载地址:
https://pan.baidu.com/s/1Lmsx... 提取码:nlt0
参考链接:https://www.jianshu.com/p/d9e...