简体   繁体   English

Android Drawable Importer 插件在 Android Studio 3.6 中不起作用

[英]Android Drawable Importer plugin not working in Android Studio 3.6

I have updated my Android Studio to version 3.6 (Build #AI-192.7142.36.36.6200805).我已将我的 Android Studio 更新到version 3.6version 3.6 #AI-192.7142.36.36.6200805)。 This issue is with the Android Drawable Importer plugin which is no longer working.此问题与不再工作的 Android Drawable Importer 插件有关。 I tried reinstalling it with no luck.我尝试重新安装它,但没有运气。

I found a repository that was Forked from the original plugin.我找到了一个从原始插件分叉的存储库。 Vincent Loi created it! Vincent Loi 创造了它! And is working fine in Android Studio 3.6.1!并且在 Android Studio 3.6.1 中运行良好! (and with Android studio 4.1.1) (以及 Android Studio 4.1.1)

Here is the repo android-drawable-importer-intellij-plugin这是 repo android-drawable-importer-intellij-plugin

And here you can download the plugin.在这里你可以下载插件。

Note from Vincent Loi: Vincent Loi 的笔记:

This fork came about because the original package stopped working somewhere around Android Studio 3.5.这个分支的出现是因为原始包在 Android Studio 3.5 附近的某个地方停止工作。 I have provided an installation zip here.我在这里提供了安装 zip。 As at 31Jan2020 it is known to run nicely on AS 3.6 RC 1. Any feedback would be appreciated.截至 2020 年 1 月 31 日,已知它在 AS 3.6 RC 1 上运行良好。任何反馈将不胜感激。

Found this repo by Vincent Loi on github.在 github 上找到了 Vincent Loi 的这个 repo。 You can download from here .你可以从这里下载。

To install,安装,

  1. Open Android Studio (3.6 RC1)打开 Android Studio (3.6 RC1)
  2. close all projects关闭所有项目
  3. click on configure at the lower right corner of the window点击窗口右下角的configure
  4. click on plugin点击插件
  5. click on install from UDisk in dropdown from top right在右上角的下拉菜单中单击从 UDisk 安装
  6. navigate to where downloaded zip file is located导航到下载的 zip 文件所在的位置
  7. select and restart android studio选择并重启android studio

EDIT This also works on Android Studio 4.0.0.编辑 这也适用于 Android Studio 4.0.0。 Happy coding.快乐编码。

No Worry别担心

You can get from Jetbrain Plugin site:您可以从Jetbrain插件站点获取:

  1. Goto This Jetbrain Plugin Sites (which is most trusted)转到此Jetbrain 插件站点(最受信任的站点
  2. Accept any terms and Condition if requires如果需要,接受任何条款和条件
  3. Download the required version.下载所需的版本。

I have我有

Android Studio 4.0.0安卓工作室 4.0.0

Build #AI-193.6911.18.40.6514223, built on May 20, 2020 Build #AI-193.6911.18.40.6514223,建于2020年 5 月 20 日

I have downloaded the Android Drawable Importer 0.5-81 under (2016) which is stable version and worked for me我已经在 (2016) 下下载了 Android Drawable Importer 0.5-81,它是稳定版本并且对我有用

  1. Now Open Android Studio.现在打开 Android Studio。
  2. close all projects.关闭所有项目。
  3. click on configure on settings icon.单击设置图标上的配置。
  4. click on plugin.点击插件。
  5. Go to Plugin oprion menu, then click Install from UDISK转到插件选项菜单,然后单击从 UDISK 安装
  6. Find your required file from explorer windows or where you have downloaded.从资源管理器窗口或您下载的位置找到所需的文件。
  7. Simply Click the Green Color Restart button and Take a coffee Sip只需单击绿色重启按钮,然后喝一口咖啡

在此处输入图片说明

Voila ,your work has been done now you can see the drawble importer and batch drawable option available on your android studio.瞧,您的工作已经完成,现在您可以在您的 android studio 上看到可绘制导入器和批处理可绘制选项。

Android Drawable Importer will not work with AS 4+ Android Drawable Importer 不适用于 AS 4+

So i use https://appicon.co/ which is very good and easy.所以我使用https://appicon.co/这非常好且简单。

Android Drawable Importer is no longer supported.不再支持 Android Drawable Importer。 You can manual install a fork (described in another answer) or you can use "Material Design Icon Generator" plugin available at Plugin Marketplace in Android Studio setting.您可以手动安装一个 fork(在另一个答案中描述),或者您可以使用 Android Studio 设置中插件市场上提供的“材料设计图标生成器”插件。

You can get more info on plugin's homepage: https://plugins.jetbrains.com/plugin/14170-material-design-icon-generator您可以在插件主页上获得更多信息: https : //plugins.jetbrains.com/plugin/14170-material-design-icon-generator

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

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