Android Studio: How to use v26.0.1 support libraries with experimental Gradle plugin?

278 views Asked by At

So now that Android O is available via OTA update, I want to move compileSdkVersion to 26, buildToolsVersion to 26.0.1, etc.

When I move my support library references to 26.0.1, however, I get "failed to resolve" errors.

There are several existing answers pointing out the need to add 'https://maven.google.com' to the list of Maven repositories in one's build.gradle file. I have already done that -- to no avail.

Has anyone gotten this to work with Android Studio 2.3.3 and the experimental Gradle plugin (latest version, com.android.tools.build:gradle-experimental:0.9.3)?

1

There are 1 answers

1
Jess Holle On

It turns out that a colleague noticed What's the difference between buildscript and allprojects in build.gradle? -- and that the https://maven.google.com repository was listed in the buildscript repository list rather than in the allprojects repository list.

Once that was addressed the previous answers to this question around configuring to obtain Google support libraries via Maven work just fine.