简体   繁体   English

Mac上Android Studio的插件文件夹在哪里

[英]Where is the plugin folder for Android Studio on Mac

I have installed a plugin which now crashes my Android Studio on start.我已经安装了一个插件,它现在会在启动时使我的 Android Studio 崩溃。 Does someone know where Android Studio stores its downloaded plugin files, so I can delete it manually?有人知道 Android Studio 将其下载的插件文件存储在哪里,所以我可以手动删除它吗?

Android Studio plugin directories are /Applications/Android Studio.app/plugins and ~/Library/Application Support/AndroidStudioPreview (hidden). Android Studio 插件目录是/Applications/Android Studio.app/plugins~/Library/Application Support/AndroidStudioPreview (隐藏)。 Perhaps if you find and delete the bad plugin folder Android Studio will be able to be started correctly.也许如果你找到并删除了坏插件文件夹 Android Studio 将能够正确启动。

For Android Studio 4.1 main folder was change location对于Android Studio 4.1主文件夹是更改位置

Now main folder you can find in path:现在您可以在路径中找到主文件夹:

~/Library/Application Support/Google/AndroidStudio4.1

This is where I could able to delete the plugin which was showing errors whenever I open Android Studio due to plugin incompatibility.这是我可以删除由于插件不兼容而在打开 Android Studio 时显示错误的插件的地方。 even after error I could able to work.即使出现错误,我也可以工作。 But still, I deleted the plugin.但是,我仍然删除了该插件。 After that no error.之后没有错误。

%USERPROFILE%\AppData\Roaming\Google\AndroidStudio4.1\plugins

对于 Android Studio 1.4,检查以下文件夹:

~/Library/Application Support/AndroidStudio1.4

对于 Android Studio 4.1.1,路径为:

~/Library/Application Support/Google/AndroidStudio4.1/plugins/

For Android Studio 2.3 its:对于 Android Studio 2.3,它的:

/Applications/Android Studio.app/Contents/plugins/android/lib/templates /Applications/Android Studio.app/Contents/plugins/android/lib/templates

对于 android studio 4.0 goto Application 然后右键单击并选择“显示包内容”

As for Mac Os: Android Studio plugin directories are /Applications/Android Studio.app/plugins and ~/Library/Application Support/AndroidStudioPreview(hidden).至于 Mac Os:Android Studio 插件目录是 /Applications/Android Studio.app/plugins 和 ~/Library/Application Support/AndroidStudioPreview(hidden)。 Perhaps if you find and delete the bad plugin folder Android Studio will be able to be started correctly.也许如果你找到并删除了坏插件文件夹 Android Studio 将能够正确启动。

As for Windows: go to : C:\Users%yourUserName%\AppData\Roaming\Google\AndroidStudio4.1\plugins至于 Windows:转到:C:\Users%yourUserName%\AppData\Roaming\Google\AndroidStudio4.1\plugins

delete plugin at What do you expect the problem from.删除插件在你认为问题是什么。

~/Library/Application Support/<PRODUCT><VERSION>

Based on the official documentation:根据官方文档:

Directories used by the IDE to store settings, caches, plugins and log: IDE 用于存储设置、缓存、插件和日志的目录:

https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

只需卸载 Android Studio 并再次安装 Android Studio 您的插件问题解决了 bcz 设置中的某些文件自动隐藏并且您无法访问这些文件所以请重新安装 Android Studio

Click on android studio label, select preferences from spinner items.单击 android studio 标签,从微调器项目中选择首选项。

在此处输入图像描述

  1. Click on android studio label点击android studio标签
  2. Select preferences tab from drop down从下拉列表中选择首选项选项卡
  3. Here you find the screen where you can find option plugin在这里您可以找到可以找到选项插件的屏幕

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

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