Android Studio “Unable to save plugin settings”

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

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

相关标签:
14条回答
  • 2020-12-05 04:21

    In my case, I am using Ubunto and I had to Unlock the Folder of my project: type this command on Terminal:

    sudo chown -R $USER: $HOME

    0 讨论(0)
  • 2020-12-05 04:21

    In my case, I installed a plugin, and on an android restart, it was failing to start. This was causing the plugin workflow to not run completely, and give the above error.

    Disabling the faulty plugin solved the issue.

    0 讨论(0)
  • 2020-12-05 04:24

    I was using Gradle 4.1 and AS 3.0.1 when I got this error.

    Look at Gradle console. If it looks anything like this, read on:

    Plugin Error
    Problems found loading plugins:
    Plugin "Android Games" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Android NDK Support" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Android APK Support" was not loaded: required plugin "Android Support" is disabled.
    Plugin "Google Developers Samples" was not loaded: required plugin "Android Support" is ...
    ...
    Plugin "Fire... (show balloon)
    

    Note that all say “required plugin Android Support is disabled."

    Also note the link “show balloon”.

    1. Click show balloon.

    2. Choose to enable Android Support.

    3. Restart AS.

    I hope this helps you, too.

    0 讨论(0)
  • 2020-12-05 04:26

    None of the single solutions above where sufficient for me. I had the same issue after updating from android studio 2.3.3 to 3.1.2.

    1. Close Android Studio
    2. Remove .idea/workspace.xml
    3. Restart android studio (your project with the issue is opened automatically)
    4. A new .idea/workspace.xml is created
    5. Sync project with gradle files
    6. Open File -> Settings - > Plugins -> Enable
      • "Android Support" Plugin.
      • Android NDK support (I had to disable and re-enable it)
    7. Restart Android Studio
    0 讨论(0)
  • 2020-12-05 04:26

    I got this error today, I updated the Android Studio from Help>CheckForUpdates>Update. After that installed the missing Google Cloud plugins. Now it is working fine.

    0 讨论(0)
  • 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()
        }
    }
    
    0 讨论(0)
提交回复
热议问题