知行合一

享受过程 漠视结果

导航

gradle问题汇总

问题:
从SVN下载到本地后,gradle无法同步,报错如下:
Failed to resolve: support-core-utils
Failed to resolve: support-media-compat
Failed to resolve: support-compat
解决:
修改app/build.gradle文件
implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2'
implementation 'com.android.support:customtabs:27.0.2'
implementation 'com.android.support:support-v13:27.0.2'
改为
implementation 'com.android.support:cardview-v7:27.1.1'
implementation 'com.android.support:design:27.1.1'
implementation 'com.android.support:customtabs:27.1.1'
implementation 'com.android.support:support-v13:27.1.1'

然后执行build->make project,弹出对话框时,选update

posted on 2018-11-12 14:32  项羽  阅读(285)  评论(0编辑  收藏  举报