ionic build android Could not resolve com.android.tools.build:gradle:1.5.0
来源:互联网 发布:软件账号密码扫描 编辑:程序博客网 时间:2024/05/02 01:20
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 com.android.tools.build:gradle:1.5.0.
Required by:
:android:unspecified
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/1.5.0/gradle-1.5.0.pom'.
> peer not authenticated
* Try:
BUILD FAILED
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:1.5.0.
Required by:
:android:unspecified
> Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/1.5.0/gradle-1.5.0.pom'.
> peer not authenticated
* Try:
BUILD FAILED
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
解决办法:
在 ionic platform add android 之后
主动修改 xx\platforms\android 目录 和 xx\platforms\android\CordovaLib 目录下的 build.gradle
把 mavenCentral() 改成
jcenter {
url "http://jcenter.bintray.com/"
}
1 0
- ionic build android Could not resolve com.android.tools.build:gradle:1.5.0
- ionic build android Could not resolve com.android.tools.build:gradle:1.5.0
- Could not resolve com.android.tools.build:gradle:1.0.0+.
- Could not resolve com.android.tools.build:gradle:0.5.+
- Android 解决Could not find com.android.tools.build:gradle
- Could not find com.android.tools.build:gradle:2.14.1.
- could not find com.android.tools.build:gradle:2.2.3
- 解决 Could not find com.android.tools.build:gradle 问题
- Could not find com.android.tools.build:gradle:3.3
- Could not find com.android.tools.build:gradle:3.0.0.
- Could not find com.android.tools.build:gradle
- Could not find com.android.tools.build:gradle:3.0.0-alpha3
- Gradle sync failed: Could not find com.android.tools.build:gradle
- Error:Could not download artifact 'com.android.tools.build:gradle:0.13.2:gradle.jar
- Gradle sync failed: Could not find com.android.tools.build:gradle
- Android开发:android studio启动后,报错:Could not find com.android.tools.build:gradle
- Could not download artifact 'com.android.tools.build:gradle:0.13.0:gradle.jar'插件无法下载问题
- Error:Could not download artifact 'gradle-core.jar (com.android.tools.build:gradle-core:1.3.0-beta3)
- db2中释放PndFreePgs
- 记录抽取
- 排序算法
- python开发环境搭建
- bash shell中expr命令下几种的使用
- ionic build android Could not resolve com.android.tools.build:gradle:1.5.0
- 反射API
- poj2506(递推+高精度)
- worldpress或zblog安装时建立数据库连接时出错
- javascript中关于字符串替换 replace() 方法的使用(咋个办呢 zgbn)
- Redis内存调优一例
- afnetworking中,规范json格式的代码---这样打印出来errormessage就非常的方便了,呵呵呵呵
- flume开发环境搭建
- Multiband DRC缺陷分析