Android Studio Giraffe 添加 maven { url “https://jitpack.io“ }报错

Android Studio Giraffe 添加 maven { url “https://jitpack.io” }报错

settings.gradle.kts:13:21: Unexpected tokens (use ';' to separate expressions on the same line)

解决方法

新版maven写法发生了改变:

maven { url = uri("https://jitpack.io") }

另外ndk的写法也变了

ndk {
    abiFilters.add("armeabi")
    abiFilters.add("arm64-v8a")
    abiFilters.add("armeabi-v7a")
    abiFilters.add("x86")
}

你可能感兴趣的:(Android问题记录,android,studio,maven)