Android(安卓)Studio遇到Failed to resolve: common问题
16lz
2022-06-04
最近在学习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() }}
更多相关文章
- Android侧滑控件之DrawerLayout的使用
- phonegap导入工程报错解决办法 错误解析android
- 解决 duplicate entry: com/android/volley/AuthFailureError.cl
- 由Eclipse导入Android(安卓)Studio的.9图片报错的处理
- Unity3D Android播放视频
- Android(安卓)spinner 动态添加时报错 java.lang.UnsupportedOpe
- Android(安卓)Studio 导入问题总结-IT蓝豹
- android Paint 设置线宽setStrokeWidth()的单位
- Android(安卓)Studio 导入问题总结-IT蓝豹