Android Studio 2.3.3 报错提示

Error: Could not find support-annotations.jar (com.android.support:support-annotations:26.1.0)

解决

/android/build.gradle

buildscript {    repositories {        maven {            url 'https://maven.google.com/'            name 'Google'        }        jcenter()    }    dependencies {        classpath 'com.android.tools.build:gradle:2.3.3'        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }}allprojects {    repositories {        mavenLocal()        maven {            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm            url "$rootDir/../node_modules/react-native/android"        }        maven {            url 'https://maven.google.com/'            name 'Google'        }        jcenter()    }}ext {    buildToolsVersion = "26.0.3"    minSdkVersion = 16    compileSdkVersion = 26    targetSdkVersion = 26    supportLibVersion = "26.1.0"}

更多相关文章

  1. Android(安卓)解决Could not find com.android.tools.build:grad
  2. Android的EditText无法自动弹出输入法问题
  3. Android(安卓)studio3 报错module not specified解决方案
  4. Android(安卓)Manifest merger failed:××× 问题解决
  5. Android(安卓)UI编辑器 Unhandled event loop exception解决方法
  6. Android(安卓)camera调用出现错误解决方法
  7. Android关于8.0以上Service服务相关问题记录
  8. Android(安卓)Studio常见错误及解决方法汇总
  9. 常见问题汇总一

随机推荐

  1. 如何构建Android(安卓)1.5系统映像
  2. 开发者指南
  3. 转 Android的消息处理机制(图+源码分析)—
  4. Android自定义视图四:定制onMeasure强制显
  5. Android(安卓)4.0新增Space及GridLayout
  6. Android存在安全缺陷:可被黑客窃听和监视
  7. android recovery模式及ROM制作
  8. 浅谈J2me游戏如何快速移植到Android
  9. android仿摩拜单车APP、炫酷RecyclerView
  10. Android终端专项测试相关介绍