简体   繁体   中英

Android Studio not working after update 1.3.0

I've been running Android Studio on Windows 7 since January and haven't performed an update until today. I started having a problem last week in which AS caused my computer to crash every time I tried to run my application, so I decided to finally stop ignoring the popup which told me updates were available. After downloading and running the file from the Android site, I'm seeing a plethora of error messages along the lines of:

Unable to save settings. Failed to save settings. Please restart Android Studio

and

Cannot load settings from file ' (several different files have been listed) ': content truncated File content will be recreated"

and

Plugin Error Problems found loading plugins: Plugin "Android Support" was not loaded: required plugin "Gradle" is disabled. Plugin "SDK Updater" was not loaded: required plugin "Gradle" is disabled. Plugin "Android NDK Support" was not loaded: required plugin "Gradle" is disabled. Plugin "Google Cloud Tools For Android Studio" was not loaded: required plugin "Gradle" is disabled. Plugin "Google Cloud Testing" was not loaded: required plugin "Gradle" is disabled. Plugin "Google Services" was not loaded: required plugin "Gradle" is disabled.

All of that might be ignored except for the fact that when opening my existing projects none of the files seem to load, meaning I can't do anything.

So basically I'm worse off now than I was before.

Restarting Android Studio multiple times has not resolved the problem. I also cleared the cache and tried removing the old .AndroidStudio file on the advice of another stackOverflow question, but to no avail. Can anyone help me out on this?

I got solution for

Cannot load settings from file ' (several different files have been listed) ': content truncated File content will be recreated"

by just deleting recentProjects.xml from C:\\Users\\Username\\.AndroidStudio1.3\\config\\options it worked for me.

我得到了一个简单的解决方案: 1. 转到设置>插件 2. 选中右侧的所有框(尤其是标记为红色的框) 3. 如果需要,更新或安装插件(确保红色标记的文本消失) 4. 最后重新启动您的工作室,您就可以开始了

我做了一个干净的安装,它对我有用。

I found a solution to the first error message:

Unable to save settings. Failed to save settings. Please restart Android Studio

After checking the log files I realised that the file .AndroidStudio1.3/config/inspection wasn't a directory as expected by Studio, but a regular file. After removing it and creating a directory with the same name instead, everything was working fine again.

如果您看到这些错误,那么就在这些错误下方,有一些蓝色线条显示安装插件点击它并重新启动您的工作室,然后它会正常工作。

I faced the same error after i have installed genymotion with plugin but it was not working correctly so i uninstalled it from control panel. but plugin icon was still appearing in android studio.i reinstalled android studio but the error and icon was still there. The following solution worked for me:

1) File->Settings->plugins;

2) in the plugin panel, check all the plugins except genymotion plugin.click apply.

3) Restart Android Studio and that's it.

Not confirmed about internet because i have tried without internet it was giving error but when i connected to internet it is done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM