You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装最新Android Studio启动报错:com.codota.intellij.common.core.CodotaMain未定义或继承

解决Android Studio启动报错:com.codota.intellij.common.core.CodotaMain does not define or inherit

这个错误是Codota插件和新版Android Studio不兼容导致的——Codota插件已停止维护,无法适配最新IDE版本,处理掉该插件就能解决问题,以下是两种可行方案:

方法一:安全模式启动后卸载插件

  • 启动Android Studio时按住Shift键(或右键图标选择「以安全模式启动」),安全模式会禁用所有第三方插件,可正常进入IDE
  • 进入后打开File > Settings > Plugins(Windows/Linux),Mac用户选择Android Studio > Settings > Plugins
  • 在已安装插件列表里找到Codota,点击卸载,重启IDE即可

方法二:手动删除插件目录

  • 完全关闭Android Studio
  • 找到对应系统的插件存储目录:
    • Windows:C:\Users\[你的用户名]\.AndroidStudio[版本号]\config\plugins
    • Mac:~/Library/Application Support/Google/AndroidStudio[版本号]/plugins
    • Linux:~/.AndroidStudio[版本号]/config/plugins
  • 在目录中找到带codota字样的文件夹(如codota或com.codota.intellij),直接删除
  • 重新启动Android Studio即可

内容的提问来源于stack exchange,提问作者Dhaval Jotaniya

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.03 18:22:36