BUILD FAILEDTotal time: 27.317 secs* 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'.         > Connection to https://repo1.maven.org refused* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.Error: Error code 1 for command: cmd with args: /s,/c,"D:\gitrepo\private\bitbucket\mfewordcard2\platforms\android\gradlew cdvBuildDebug -b D:\gitrepo\private\bitbucket\mfewordcard2\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true" 

可以通过如下解决:

ionic platform add android 之后,在ionic build android 之前,请手工修改 \platforms\android目录 和 \platforms\android\CordovaLib 目录下的 build.gradle文件,

mavenCentral()
改成
jcenter {url "http://jcenter.bintray.com/"}

更多相关文章

  1. 文件对应
  2. Android 的网络编程(8)-文件上传功能
  3. Android实时抓取日志,生成文件
  4. android assets/raw 大文件读取
  5. Android加载html实现文件上传功能
  6. Android中将assets中的文件拷贝到sd卡
  7. db文件查看工具SQLiteExpert
  8. android proc 虚拟文件系统
  9. Android 9 读写SD卡文件

随机推荐

  1. 解决ArcGIS Android Could not find clas
  2. android 属性android:visibility
  3. Android 回调机制
  4. Android中SQLite数据库操作(1)——使用SQL
  5. Android(安卓)高仿 频道管理----网易、今
  6. android ubuntu下NDK的开发
  7. Android中的布局管理
  8. Android SDK开发 -- TitleBar重构 (代理模
  9. Android 常用样式设置
  10. Android学习之文件存储