最近在学习Google todomvp项目,但是导入Android Studio时报错了

Failed to resolve: common


然后参考Stack Overflow上的一个答案

将Project的build.gradle文件中的google()挪到jcenter()上面一行就可以了

buildscript {    repositories {        google()        jcenter()    }    dependencies {        classpath 'com.android.tools.build:gradle:3.0.0'        // NOTE: Do not place your application dependencies here; they belong        // in the individual module build.gradle files    }}allprojects {    repositories {        google()        jcenter()    }}


更多相关文章

  1. Android侧滑控件之DrawerLayout的使用
  2. phonegap导入工程报错解决办法 错误解析android
  3. 解决 duplicate entry: com/android/volley/AuthFailureError.cl
  4. 由Eclipse导入Android(安卓)Studio的.9图片报错的处理
  5. Unity3D Android播放视频
  6. Android(安卓)spinner 动态添加时报错 java.lang.UnsupportedOpe
  7. Android(安卓)Studio 导入问题总结-IT蓝豹
  8. android Paint 设置线宽setStrokeWidth()的单位
  9. Android(安卓)Studio 导入问题总结-IT蓝豹

随机推荐

  1. Google 告诉你 Android(安卓)4.0 的新功
  2. Android中外部程序调用方法总结
  3. 【Android休眠】之Android对PowerKey事件
  4. Android(安卓)- 文件读写操作 总结
  5. Android(安卓)打造编译时注解解析框架 这
  6. Android自定义属性时TypedArray的使用方
  7. ANDROID开机动画bootanimation.zip的详细
  8. android 3.0中加快启动模拟器
  9. Android(安卓)Emulator 模拟器使用方法
  10. [置顶] android:configChanges属性