Gradle in Android Studio: Failed to resolve third-party libraries

后端 未结 7 2425
陌清茗
陌清茗 2020-12-09 10:51

I have been trying to switch my project from Intellij to Android Studio, which has required me to create a build.gradle file. I know I can add each of these as a library dep

7条回答
  •  鱼传尺愫
    2020-12-09 11:11

    this helps

    allprojects {
        repositories {
            jcenter()
            maven { url "https://jitpack.io" }
        }
    }
    

    in projects's gradle

提交回复
热议问题