android - Gradle 同步失败 : support-core-utils

标签 android android-studio android-gradle-plugin synchronization android-support-library

我正在处理 Android 项目同步。

我得到的错误总是一样的:

Failed to resolve: support-core-utils

Failed to resolve: support-compat

目前,我的存储库是:

maven { url 'https://dl.bintray.com/android/android-tools/' }
maven { url 'https://dl.bintray.com/firebase/gradle/' }
maven { url "https://jitpack.io" }
google()
jcenter {url 'https://firebase.bintray.com/gradle'}

有什么建议吗?

谢谢!

最佳答案

像这样尝试将 google() 移到其他人的顶部

google()
maven { url 'https://dl.bintray.com/android/android-tools/' }
maven { url 'https://dl.bintray.com/firebase/gradle/' }
maven { url "https://jitpack.io" }
jcenter {url 'https://firebase.bintray.com/gradle'}

关于android - Gradle 同步失败 : support-core-utils,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53727187/

相关文章:

android - 我的调试 AndroidManifest.xml 给了我 "cannot resolve symbol errors"

java - 扩展 TextView 中的自定义字体?安卓

java - onbindViewHolder 不接受 View 持有者变量

java - 不要在项目单击时将文本值设置为 AutoCompleteTextView

android - 应用在 9patch 背景上时,波纹效果 drawable 会失真

javascript - 无法在 android webview 上运行显示图像预览?

android-studio - Android Studio - 设备已连接,但 'offline'

安卓工作室 : “new module -> import existing project” vs. “import module”

android - Android Studio-手动运行注释处理器

android - Gradle assembleMyAppDebug FileNotFoundException manifest_keep.txt