Android Studio 3.0 Beta 1: Failed to resolve: com.android.support:multidex:1.0.2

后端 未结 11 1849
陌清茗
陌清茗 2021-01-31 08:36

After migrating from Android Studio 3.0 (Canary 5) to Android Studio 3.0 (Beta 1), and moving to latest gradle , i.e. \'com.android.tools.build:gradle:3.0.0-beta1\'

11条回答
  •  独厮守ぢ
    2021-01-31 09:09

    Apparently my issue is I should post this:

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

    in allprojects and not in buildscript (the subtle different has blinded me where the issue is), which then looks like this:

    allprojects {
        repositories {
            maven {
                url 'https://maven.google.com'
            }
        }
    }
    

    Thanks to M D for the pointers!

提交回复
热议问题