Android Studio 更新 1.3.0 后无法工作

标签 android plugins android-studio updates

自一月份以来,我一直在 Windows 7 上运行 Android Studio,直到今天才执行更新。上周我开始遇到一个问题,每次我尝试运行我的应用程序时,AS 都会导致我的计算机崩溃,所以我决定最终不再忽略告诉我有可用更新的弹出窗口。从 Android 网站下载并运行该文件后,我看到大量错误消息,大致如下:

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

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

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.

除了打开现有项目时似乎没有加载任何文件(这意味着我无能为力)之外,所有这些都可能会被忽略。

所以基本上我现在的情况比以前更糟。

多次重启Android Studio仍未解决问题。我还清除了缓存并尝试根据另一个 stackOverflow 问题的建议删除旧的 .AndroidStudio 文件,但无济于事。谁能帮我解决这个问题吗?

最佳答案

我找到了解决方案

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

只需从 C:\Users\Username\.AndroidStudio1.3\config\options 删除 recentProjects.xml 它对我有用。

关于Android Studio 更新 1.3.0 后无法工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31757260/

相关文章:

java - 如何在多同步 Realm 中分离我的 Realm 对象?

android - 从 android 中的 facebook 相册中获取照片

android - 如何在android平台上调用邮件应用

java - 在 Android Studio 上将模块或项目作为库导入

java - Android - 如何从 Sdcard 获取文件字节

android - 在沉浸式模式下,弹出窗口显示为带有空格/间隙,仅在 Marshmallow 上

jquery - .hashchange 不跳转到 anchor 标记?

WordPress: "The link you followed has expired"问题

ruby-on-rails - 构建插件或 gem ?

java - Spring Boot Repository.save() 方法不起作用 - 没有提交