使用maven { url "https://jitpack.io" } 时Failed to resolve:

一定要放到allproject下,这点要特别注意
而不是buildscript

allprojects {
        repositories {
            maven { url 'https://www.jitpack.io' }
        }
    }

转载
https://www.jianshu.com/p/cdb36b91b205

你可能感兴趣的:(使用maven { url "https://jitpack.io" } 时Failed to resolve:)