0

将 lottie 添加到 build.gradle 文件后说 Error:Failed to resolve: com.android.support:appcompat-v7:26.1.0 Install Repository and sync project Open File Show in Project Structure 对话框

4

1 回答 1

0

确保在根目录中包含 maven repo,build.gradle例如

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://maven.google.com"
        }
    }
}
于 2017-10-24T16:23:21.547 回答