简体   繁体   English

在 Android Studio 中发现加载插件的问题

[英]Problems found loading Plugins in Android Studio

After updating Gradle as suggested in this answer the following error appears while using Android Studio 0.2.0按照本答案中的建议更新 Gradle 后,使用 Android Studio 0.2.0 时出现以下错误

在此处输入图片说明

How to get over this one?怎么克服这个?

go to Settings-Plugins-IDE Settings and just disable and enable again needed plugins - it helped me.转到Settings-Plugins-IDE Settings然后禁用并再次启用所需的插件 - 它帮助了我。 I think it was some bug on Studio我认为这是 Studio 上的一些错误

I have the same error, and I solve it as mentioned above:我有同样的错误,我按照上面提到的方法解决了它:

  1. go as flow file-->settings-->plugins作为流file-->settings-->plugins
  2. then uncheck the red options然后取消选中红色选项
  3. apply settings You will get error message no problem应用设置你会收到错误信息没问题
  4. recheck the unchecked options重新选中未选中的选项
  5. press ok按确定
  6. it will request to restart android studio press ok button and it will solve the error and work fine again它将请求重新启动 android studio 按确定按钮,它将解决错误并再次正常工作

1.Go to settings -> uncheck all red check one's -> apply 1.转到设置->取消选中所有红色检查一个->应用

2.It will restart your android studio -> OK 2.它会重启你的android studio -> OK

3.Go to settings -> Plugins -> check the unchecked one's->apply 3.进入设置->插件->勾选未勾选的->应用

4.Restart and update them all. 4.重新启动并更新它们。

//done //完成

//thankyou //谢谢

I try to remove and reinstall Extras or disable and enable plugins but the problem is not solved.我尝试删除并重新安装 Extras 或禁用和启用插件,但问题没有解决。

I find a solution to correct that is to reset Android Studio You have to remove this directory and restart Android Studio to detect the SDK location:我找到了一个更正的解决方案,即重置Android Studio您必须删除此目录并重新启动Android Studio以检测 SDK 位置:

~/Library/Preferences/AndroidStudio*
~/Library/Caches/AndroidStudio*
~/Library/Logs/AndroidStudio*

As you see, image uploaded by you, Configure , go to that menu.如您所见,由您上传的图像, Configure ,转到该菜单。 Now click on Settings .现在点击Settings Try to find Plugins in IDE Settings .尝试在IDE Settings找到Plugins Here look out for Gradle and check whether it is installed or not.在这里寻找Gradle并检查它是否已安装。

If not, Click on Install JetBrains Plugin... or Browse Categories and find Gradle .如果没有,请单击Install JetBrains Plugin...Browse Categories并找到Gradle Now on top, besides Refresh button there is a Download and Install button.现在在顶部,除了Refresh按钮外,还有一个Download and Install按钮。 Using that button install Gradle Plugin.使用该按钮安装Gradle插件。

Andorid studio -> preferences > plugins, enable "support" plugin. Andorid studio -> 首选项> 插件,启用“支持”插件。 And then if there are red plugin, disabled it and restart android studio然后如果有红色插件,禁用它并重新启动android studio

转到 File->Settings-> Plugins 然后取消选中然后检查所有红色突出显示的插件,然后根据需要重新启动 android studio

I solved it this way.. Go to file then settings (Ctrl+alt+S) > then go to plugins > on the "show" dropdown button select disabled > unchecke the check-buttons then they'll disappear> again select disabled then check them and press OK.我是这样解决的..转到文件然后设置(Ctrl + alt + S)>然后转到插件>在“显示”下拉按钮上选择禁用>取消选中复选按钮然后它们会消失>再次选择禁用然后检查它们并按 OK。 On request to restart android studio, restart it and it'll be working fine根据要求重新启动 android studio,重新启动它,它会正常工作

For Mac, this worked对于 Mac,这有效

  1. Menu > Preferences > Plugins菜单 > 首选项 > 插件

  2. Uncheck all取消选中所有

  3. Android studio will ask to restart, restart it Android studio 会要求重启,重启一下

  4. Check all again再次检查所有

  5. Restart Again重新启动

  6. And Voila!瞧!

取消选中 gradle 插件并再次检查,然后重新启动 android studio 并选择 SDK 位置并下载缺少的依赖项对我有用

I solved this problem with reset android studio settings.我通过重置 android studio 设置解决了这个问题。

On Windows:在 Windows 上:

Go to your User Folder - on Windows 7/8 this would be:转到您的用户文件夹 - 在 Windows 7/8 上,这将是:

[SYSDRIVE]:\\Users[your username] (ex. C:\\Users\\JohnDoe) [SYSDRIVE]:\\Users[您的用户名](例如 C:\\Users\\JohnDoe)

In this folder there should be a folder called .AndroidStudioBeta or .AndroidStudio (notice the period at the start - so on some OSes it would be hidden).在这个文件夹中应该有一个名为.AndroidStudioBeta.AndroidStudio的文件夹(注意开头的句号 - 所以在某些操作系统上它会被隐藏)。

Delete this folder (or better yet, move it to a backup location - so you can return it if something goes wrong).删除此文件夹(或者更好的是,将其移动到备份位置 - 这样如果出现问题,您可以将其返回)。

This should reset your Android Studio settings to default.这应该将您的 Android Studio 设置重置为默认值。

https://stackoverflow.com/a/19397632/793880 https://stackoverflow.com/a/19397632/793880

2020/12/10 - Ubuntu 18.04 和 Android Studio 4.2 我是这样解决的:使用 strace 我发现用户在“/home//.local/share/Google/AndroidStudioPreview4.2”上安装了插件目录(没有记录在我读过的任何地方,也不是官方文档,也不是 IntelijIdea)刚刚删除了失败插件的目录(未与已安装的插件一起列出,因此无法取消选中任何内容),并解决了问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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