Setting up Gradle for api 26 (Android)

后端 未结 6 908
青春惊慌失措
青春惊慌失措 2020-12-04 15:13

Since I have upgraded my Nexus 5x to Android O DP3 I am not able to test my applications. I get the error for not having configured my Gradle-file to work with the new API-l

6条回答
  •  粉色の甜心
    2020-12-04 16:05

    You could add google() to repositories block

    allprojects {
        repositories {
            jcenter()
            maven {
                url 'https://github.com/uPhyca/stetho-realm/raw/master/maven-repo'
    
            }
            maven {
                url "https://jitpack.io"
            }
            google()
        }
    }
    

提交回复
热议问题