我刚刚更新到Android Studio 4.1金丝雀9,但我得到以下错误:
Missing essential plugin:
org.jetbrains.android
Please reinstall Android Studio from scratch.
我尝试从头开始重新安装Android Studio,就像错误提示的那样,但没有任何变化。
我刚刚更新到Android Studio 4.1金丝雀9,但我得到以下错误:
Missing essential plugin:
org.jetbrains.android
Please reinstall Android Studio from scratch.
我尝试从头开始重新安装Android Studio,就像错误提示的那样,但没有任何变化。
当前回答
在macOS Catalina 10.15中,此文件可以在 /用户/ {your_user_name} /图书馆/应用程序/谷歌/ AndroidStudio4.1 /插件的支持
其他回答
正如Android Studio 4.1预览页面的已知问题部分所指出的,如果你在Android Studio 4.1 Canary 9中得到这个错误,这意味着你有一个本地安装的Kotlin插件与新的IDE不兼容。
要解决这个问题,你应该从以下位置(从上面的链接页面)删除Kotlin文件夹,这取决于你的操作系统:
Linux: ~ .local / share / Google / AndroidStudioPreview4.1
Windows: C:\Users\ YourUserName \ AppData \ \谷歌\ AndroidStudioPreview4.1徘徊
macOS: ~/Library/Application Support/谷歌/AndroidStudioPreview4.1
对于Linux和macOS, ~指的是您的主目录,可以使用rm -rf directory_name_here从命令行(终端)删除目录。
没有必要安装替换的Kotlin插件,因为它已经捆绑在那个版本的Android Studio中。
如果你已经禁用了一些插件,那么从disabled_plugins.txt中删除这些插件可以修复这个问题。而不是添加回所有的插件,指定插件来启用:
groovy, smali, kotlin, junit // (i.e: Enable these)
在macOS Catalina 10.15中,此文件可以在 /用户/ {your_user_name} /图书馆/应用程序/谷歌/ AndroidStudio4.1 /插件的支持
Windows用户
C:\Users\Admin[如果你有用户名].AndroidStudio4.0\config
你可以在那里找到禁用的_plugins.txt 删除它并重新启动android studio
>应用程序支持->谷歌-> AndroidStudio4.2 -> disabled_plustxt
MAC Mojave