Android Studio “Unable to save plugin settings”

后端 未结 14 2395
甜味超标
甜味超标 2020-12-05 04:13

When I opened android studio today, it showed me the following errors: \"Error

14条回答
  •  独厮守ぢ
    2020-12-05 04:30

    I just replace the project build.gradle like below. And it works.

        buildscript {
        ...
        repositories {
            mavenLocal()
            maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
            maven { url "https://jitpack.io" }
            mavenCentral() // jcenter() works as well because it pulls from Maven Central
            maven {
                url 'https://maven.google.com/'
                name 'Google'
            }
            jcenter()
        }
        ...
        }
    
        allprojects {
        repositories {
            mavenLocal()
            maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
            maven { url "https://jitpack.io" }
            mavenCentral() // jcenter() works as well because it pulls from Maven Central
            maven {
                url 'https://maven.google.com/'
                name 'Google'
            }
            jcenter()
        }
    }
    

提交回复
热议问题