今天打包ionic项目的时候报出了下面错误:

 What went wrong:A problem occurred configuring root project 'android'.> Could not resolve all dependencies for configuration ':_debugCompile'.   > Could not find any version that matches com.android.support:support-v4:24.1.1+.     Searched in the following locations:         https://repo1.maven.org/maven2/com/android/support/support-v4/maven-metadata.xml         https://repo1.maven.org/maven2/com/android/support/support-v4/     Required by:         :android:unspecified* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
错误原因是sdk的包没下载全,主要缺的是下面的几个文件,通过sdk manager下载;


下载完成之后,运行“ionic build android”命令

更多相关文章

  1. NPM 和webpack 的基础使用
  2. 使用NetBeans搭建Android开发环境
  3. android studio Could not find com.android.support.constraint
  4. Android(安卓)studio3.x 多渠道打包apk
  5. Android(安卓)命令行编译、打包生成apk文件
  6. AIR Native Extension的使用(Android)一 : 打包ane
  7. Ionic 运行报错No resource identifier found for attribute 'ap
  8. android源码下载方式
  9. Android调用.NET Webservice报org.ksoap2.serialization.SoapPri

随机推荐

  1. Android(安卓)资源文件中@、@android:typ
  2. Linux系统添加Android(安卓)SDK环境变量
  3. EditView属性介绍
  4. Hello TWaver Android
  5. android 设置透明效果
  6. layout中设置图片自适应大小,并且设置最大
  7. Linearlayout和relativeLayout的属性的一
  8. Android2.2 API 中文文档系列(3) —— Acce
  9. EditView属性大全
  10. Android异步处理三:Handler+Looper+Messag