Setting up Gradle for api 26 (Android)

后端 未结 6 905
青春惊慌失措
青春惊慌失措 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 15:47

    Appart from setting maven source url to your gradle, I would suggest to add both design and appcompat libraries. Currently the latest version is 26.1.0

    maven {
        url "https://maven.google.com"
    }
    

    ...

    compile 'com.android.support:appcompat-v7:26.1.0'
    compile 'com.android.support:design:26.1.0'
    

提交回复
热议问题