Adds an option to IntelliJ to import drawables in different resolutions from AndroidIcons, own "drawable repos" and scale a certain image down/up to the defined resolutions.

Overview

Android Drawable Importer Plugin

alt text

This plugin consists of three main features. You can access them by right-clicking anywhere, but not on a file, inside an Android (library) module under New.

AndroidIcons and Material Icons Drawable Import

You are able to select the asset, specify your color, change the target resource name and select all the resolutions you want to import.

All the missing folders will be created automatically. If there are already drawables with the same name, you will be warned. You can also import Vector Drawables from the Material Icons pack.

You can even search for your desired asset by just start typing when the first spinner has focus.

alt text alt text

You can download AndroidIcons here and Material Icons here for free.

Batch Drawable Import

Select assets (or a whole folder) and specify the source resolutions. You can change the source size of every image as well. Specify all resolutions, to which it should be resized to.

This works also with 9-Patch-Images. But take care: sometimes it's necessary to remove / add the one or other "pixel" in the 9-Patch-Editor. But just give it a try :)

alt text alt text alt text

Multisource-Drawable

Ever got a zip with drawables for your Android project by your designer with the following structure?

  root/
       ./drawable_ldpi.png
       ./drawable_mdpi.png
       ./drawable_hdpi.png
       ./drawable_xhdpi.png

No problem! Now you can just select for every resolution a different asset, specify one name for them, and the rest is done by the plugin. Or even easier, you can select the whole zip, and this plugin will auto extract the asset to the best matching folder.

alt text alt text

Hint: When you select an asset, you can also just drag a file from your explorer to the text field and drop it there.

Install Instructions (IntelliJ, Android Studio)

Step 1:

Open IntelliJ and click on the Configure button on the welcome screen.

Welcome Screen

Then click on the Plugins button to open the Plugins dialog.

Welcome Screen - Plugins

If your IntelliJ is already opened or was closed with an open project, go to the Settings in the File menu on Windows or the Preferences.. in the IntelliJ IDEA menu. Select the Plugins option on the left pane.

Settings Settings - Plugins

Step 2:

Click on the Browse repositories... button.

Plugins

Step 3:

Search for Android Drawable Importer and select the plugin from the list. Click on the Install Plugin button and verify the selection by pressing Yes afterwards.

Install Verify

Step 4:

Afterwards click on the Close button. If IntelliJ asks you to restart, allow it.

Restart

How to run the repository code

  1. Clone git clone [email protected]:winterDroid/android-drawable-importer-intellij-plugin.git
  2. Run Gradle Wrapper In project root. ./gradlew runIdea

Contribution

Build Status

  1. Fork it
  2. Checkout develop branch git checkout develop && git pull
  3. Create your feature branch git checkout -b my-new-feature
  4. Commit your changes git commit -am 'Add some feature'
  5. Squash all commits in your branch together git rebase -i develop
  6. Push to the branch git push origin my-new-feature
  7. Create new Pull Request

License

Copyright 2014 Marc Prengemann

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Comments
  • NPE after updating to 0.3.1

    NPE after updating to 0.3.1

    I'm getting a NPE when i'm trying to import drawable with "Icon Pack Drawable Importer" just after 0.3.1 update on android studio 1.4.

    java.lang.NullPointerException
        at de.mprengemann.intellij.plugin.androidicons.controllers.icons.androidicons.AndroidIconsController.getCategories(AndroidIconsController.java:46)
        at de.mprengemann.intellij.plugin.androidicons.controllers.iconimporter.IconsImporterController.<init>(IconsImporterController.java:39)
        at de.mprengemann.intellij.plugin.androidicons.dialogs.IconImporter.<init>(IconImporter.java:162)
        at de.mprengemann.intellij.plugin.androidicons.actions.IconsAction.actionPerformed(IconsAction.java:39)
        at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:182)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter$1.run(ActionMenuItem.java:312)
        at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:958)
        at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:124)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:282)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
        at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:109)
        at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:512)
        at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:44)
        at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:532)
        at java.awt.Component.processMouseEvent(Component.java:6525)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
        at java.awt.Component.processEvent(Component.java:6290)
        at java.awt.Container.processEvent(Container.java:2234)
        at java.awt.Component.dispatchEventImpl(Component.java:4881)
        at java.awt.Container.dispatchEventImpl(Container.java:2292)
        at java.awt.Component.dispatchEvent(Component.java:4703)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
        at java.awt.Container.dispatchEventImpl(Container.java:2278)
        at java.awt.Window.dispatchEventImpl(Window.java:2739)
        at java.awt.Component.dispatchEvent(Component.java:4703)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:746)
        at java.awt.EventQueue.access$400(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:697)
        at java.awt.EventQueue$3.run(EventQueue.java:691)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
        at java.awt.EventQueue$4.run(EventQueue.java:719)
        at java.awt.EventQueue$4.run(EventQueue.java:717)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:716)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:734)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:565)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:382)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
    
    bug 
    opened by sondagcyrille 15
  • Infinite horizontal scroll in settings window

    Infinite horizontal scroll in settings window

    Hi,

    After the last update it's impossible to set the android or material icons assets home because the windows scroll horizontaly all time. This causes that I can't click the selector input file directories to set them.

    While the bug is fixed, how I can set the assets home directories manually?

    Software info:

    • SO: XUbuntu 14.04
    • Android Studio: 1.0.2
    bug 
    opened by jdzuri 11
  • plugin doesn't work on Android Studio 3.6.1

    plugin doesn't work on Android Studio 3.6.1

    When I choose image to import it's crashes

    java.lang.NoSuchMethodError: org.jetbrains.android.facet.AndroidFacet.getAllResourceDirectories()Ljava/util/List; at de.mprengemann.intellij.plugin.androidicons.util.AndroidFacetUtils.getResourcesRoot(AndroidFacetUtils.java:48) at de.mprengemann.intellij.plugin.androidicons.dialogs.AddItemBatchScaleDialog.initController(AddItemBatchScaleDialog.java:222) at de.mprengemann.intellij.plugin.androidicons.dialogs.AddItemBatchScaleDialog.<init>(AddItemBatchScaleDialog.java:147) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter.addSingleFile(AndroidBatchScaleImporter.java:222) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter.access$100(AndroidBatchScaleImporter.java:72) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter$1.consume(AndroidBatchScaleImporter.java:98) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter$1.consume(AndroidBatchScaleImporter.java:85) at com.intellij.ui.mac.MacPathChooserDialog.choose(MacPathChooserDialog.java:137) at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:112) at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:90) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter$2.actionPerformed(AndroidBatchScaleImporter.java:135) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at com.chrisrm.idea.ui.MTButtonUI$ButtonHighlighter.mouseReleased(MTButtonUI.java:383) at java.awt.Component.processMouseEvent(Component.java:6550) at javax.swing.JComponent.processMouseEvent(JComponent.java:3325) at java.awt.Component.processEvent(Component.java:6315) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4899) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4721) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4721) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:739) at java.awt.EventQueue$4.run(EventQueue.java:737) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:736) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:878) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:823) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:466) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:693) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:465) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233) at java.awt.Dialog.show(Dialog.java:1077) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:707) at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:432) at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1685) at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1644) at de.mprengemann.intellij.plugin.androidicons.actions.AndroidBatchImportAction.actionPerformed(AndroidBatchImportAction.java:40) at com.intellij.openapi.actionSystem.ex.ActionUtil$1.run(ActionUtil.java:265) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:282) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.lambda$actionPerformed$0(ActionMenuItem.java:292) at com.intellij.openapi.wm.impl.FocusManagerImpl.runOnOwnContext(FocusManagerImpl.java:265) at com.intellij.openapi.wm.impl.IdeFocusManagerImpl.runOnOwnContext(IdeFocusManagerImpl.java:107) at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:282) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.lambda$fireActionPerformed$0(ActionMenuItem.java:111) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:82) at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:106) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:115) at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121) at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:111) at com.intellij.ui.plaf.beg.BegMenuItemUI.doClick(BegMenuItemUI.java:524) at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:35) at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:546) at java.awt.Component.processMouseEvent(Component.java:6550) at javax.swing.JComponent.processMouseEvent(JComponent.java:3325) at java.awt.Component.processEvent(Component.java:6315) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4899) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4721) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4721) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:766) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:739) at java.awt.EventQueue$4.run(EventQueue.java:737) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:736) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:878) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:823) at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:466) at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:704) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:465) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

    opened by mhelmi 7
  •  IOException

    IOException

    Running off fedora, I get this when attempting to select a group of images for the Batch Drawable Import

    1:45:37 PM Plugin Error: Android Drawable Importer threw an uncaught IOException. Disable Plugin 1:45:37 PM IOException: Unable to create directory /drawable-xxxhdpi

    bug 
    opened by TannerS 5
  • 0.3.3 Update Not Downloading

    0.3.3 Update Not Downloading

    I have tried downloading the 0.3.3 update from the plugins repository in Android Studio as well as from the website but both fail. workspace 1_001 I'm stuck with issue #94

    I'm on Ubuntu Gnome 14.04.3 64 bit with 0.3.2 version of this plugin

    opened by kartikarora 5
  • Direct import of zips

    Direct import of zips

    In the description for the plugin, you write "Ever got a zip with drawables for your Android project by your designer with the following structure?". I do, all the time :-)

    But the current version of the plugin seems to require unzipping the archive and then dragging each file to the multi-source drawable import window. Wouldn't it be nice if I could just drag the zip and it would populate all the files, or manually unzip, but when I drag the first file, the plugin automatically finds the other resolutions?

    enhancement 
    opened by paour 5
  • Batch

    Batch

    When I try to use Batch Drawable Importer and select more than one file at once, it threw an exception:

    Unable to create directory /drawable-xxhdpi
    java.io.IOException: Unable to create directory /drawable-xxhdpi
        at org.apache.commons.io.FileUtils.forceMkdir(FileUtils.java:2384)
        at de.mprengemann.intellij.plugin.androidicons.images.RefactoringTask.copy(RefactoringTask.java:180)
        at de.mprengemann.intellij.plugin.androidicons.images.RefactoringTask.move(RefactoringTask.java:227)
        at de.mprengemann.intellij.plugin.androidicons.images.RefactoringTask.access$200(RefactoringTask.java:45)
        at de.mprengemann.intellij.plugin.androidicons.images.RefactoringTask$1.run(RefactoringTask.java:75)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:312)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:694)
        at java.awt.EventQueue$3.run(EventQueue.java:692)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:703)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:654)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
    
    opened by rtoshiro 4
  • Support Material Design Vector Drawables

    Support Material Design Vector Drawables

    With the new Material Design 2.0 icon pack, vector drawables are now supported. These should be added to the list of dimensions available so that the plugin can import this type of icon. They are in the folder drawable-anydpi-v21 and are supported on 5.0 and later.

    opened by benpye 4
  • grey600 option removed from material icons

    grey600 option removed from material icons

    Hi, first off thanks for creating the plugin - it works really well! I just updated to the latest plugin version and the only colours available for material icons are white or black. Grey600 used to be a colour option before I updated the plugin, any possibility of putting this back in? Thanks

    opened by stephenmcbride 3
  • Browsing Windows folders doesn't work

    Browsing Windows folders doesn't work

    When I go to import a file, all I see is my list of drives, all showing only the files that are in the root - no folders within. The only way I can import images is by dragging from Windows Explorer into the window. This is true on 2 separate computers, one running Windows 7, the other running Windows 10.

    opened by kanetik 3
  • Plugin install failed.  ClassNotFoundException: de.mprengemann.intellij.plugin.androidicons.IconApplication

    Plugin install failed. ClassNotFoundException: de.mprengemann.intellij.plugin.androidicons.IconApplication

    There weren't any installation instructions, so after a little research I did the following:

    1. Run Android Studio.
    2. From the menu bar, select Android Studio > Preferences.
    3. Under IDE Settings, click Plugins and then click Install plugin from disk.
    4. Select the zip file (downloaded from GitHub)
    5. Restart Android Studio.

    But after the restart I get the following exception, and the plugin is then disabled:

    Did I get the installation procedure wrong? I am running the latest Android Studio 1.4 on OSX

    Plugin 'de.mprengemann.intellij.plugin.androidicons' failed to initialize and will be disabled.  Please restart Android Studio.
    
    java.lang.ClassNotFoundException: de.mprengemann.intellij.plugin.androidicons.IconApplication PluginClassLoader[de.mprengemann.intellij.plugin.androidicons, 0.3]
        at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:68)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:249)
        at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(ComponentManagerImpl.java:427)
        at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.loadClasses(ComponentManagerImpl.java:417)
        at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:403)
        at com.intellij.openapi.components.impl.ComponentManagerImpl.createComponents(ComponentManagerImpl.java:108)
        at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:87)
        at com.intellij.openapi.components.impl.stores.ApplicationStoreImpl.load(ApplicationStoreImpl.java:101)
        at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:499)
        at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:481)
        at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:170)
        at com.intellij.idea.MainImpl$1$1$1.run(MainImpl.java:52)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715)
        at java.awt.EventQueue.access$400(EventQueue.java:82)
        at java.awt.EventQueue$2.run(EventQueue.java:676)
        at java.awt.EventQueue$2.run(EventQueue.java:674)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:685)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:362)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    
    opened by tuckercr 3
  • Plugin didn't work any more

    Plugin didn't work any more

    Plugin did not work any more with android studio version 3.6.1

    I tried to uninstall and reinstall the plugin but this is not listed in plugin marketplace.

    opened by ardakaplan 1
  • Batch Importer doesn't rename the files correctly

    Batch Importer doesn't rename the files correctly

    Hey,

    first I want to say, I love this plugin, helped me a lot :)

    When importing a batch of images which start with a number, could you ad e.g. an "ic_" infront of it. Otherwise a Error is thrown:

    grafik

    Would be super handy, if the program checks, if the name start with something else than a letter and add an "ic_" infront of it.

    Thanks a lot

    Kind regards

    Josua

    opened by Sharknoon 0
  • Android Studio 3.6 Canary 12

    Android Studio 3.6 Canary 12

    Please fix! Version 0.5-81 This error appears when I do Batch Drawable Import:

    java.lang.NoSuchMethodError: org.jetbrains.android.facet.AndroidFacet.getAllResourceDirectories()Ljava/util/List; at de.mprengemann.intellij.plugin.androidicons.util.AndroidFacetUtils.getResourcesRoot(AndroidFacetUtils.java:48) at de.mprengemann.intellij.plugin.androidicons.dialogs.AddItemBatchScaleDialog.initController(AddItemBatchScaleDialog.java:222) at de.mprengemann.intellij.plugin.androidicons.dialogs.AddItemBatchScaleDialog.(AddItemBatchScaleDialog.java:147) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter.addSingleFile(AndroidBatchScaleImporter.java:222) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter.access$100(AndroidBatchScaleImporter.java:72) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter$1.consume(AndroidBatchScaleImporter.java:98) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter$1.consume(AndroidBatchScaleImporter.java:85) at com.intellij.ui.mac.MacPathChooserDialog.choose(MacPathChooserDialog.java:137) at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:112) at com.intellij.openapi.fileChooser.FileChooser.chooseFiles(FileChooser.java:90) at de.mprengemann.intellij.plugin.androidicons.dialogs.AndroidBatchScaleImporter$2.actionPerformed(AndroidBatchScaleImporter.java:135) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)

    ...

    opened by kikasik 2
  • Import from correct folder structure but wrong folder names

    Import from correct folder structure but wrong folder names

    I am trying to import from a correct folder structure provided by designer but wrong folder names like this

    res/
      xxxhdpi/
        awesome-image.png
      xxhdpi/
        awesome-image.png
      xhdpi/
        awesome-image.png
      hdpi/
        awesome-image.png
      mdpi/
        awesome-image.png
    

    I am using the batch import and selecting the parent 'res' folder. The assets are getting detected multiple times from each folder sizes and the plugin crashes Android studio when I press import.

    I would love if the plugin is able to detect such situation and correctly imports the assets with the different sizes.

    opened by AmrSaleh 0
Owner
Marc Prengemann
Marc Prengemann
A plugin that adds support for rs2asm files to IntelliJ.

Rs2Asm This plugin adds some simple features when interacting with rs2asm files. Features Syntax highlighting Autocompletion for label names and instr

Joshua Filby 3 Dec 16, 2021
IntelliJ Idea Astor Plugin is a plugin that integrates Astor in Intellij Idea

IntelliJ Idea Astor Plugin IntelliJ Idea Astor Plugin is a plugin that integrates Astor in Intellij Idea. It communicates with a local/remote program

null 4 Aug 28, 2021
Intellij-platform-plugin-template - IntelliJ Platform Plugin Template

IntelliJ Platform Plugin Template TL;DR: Click the Use this template button and

null 0 Jan 1, 2022
Kirill Rakhman 4 Sep 15, 2022
gradle-android-scala-plugin adds scala language support to official gradle android plugin

gradle-android-scala-plugin gradle-android-scala-plugin adds scala language support to official gradle android plugin. See also sample projects at htt

saturday06 345 Dec 10, 2022
A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development.

ADB Idea A plugin for Android Studio and Intellij IDEA that speeds up your day to day android development. The following commands are provided: Uninst

Philippe Breault 2k Dec 28, 2022
IntelliJ plugin that provides a modern and powerful byte code analyzer tool window.

IntelliJ Byte Code Analyzer Plugin This IntelliJ plugin provides a modern and powerful byte code analyzer tool window. Its supports Java, Kotlin, Groo

Marcel Kliemannel 29 Nov 9, 2022
NukeJangala - Starsector Mod Template using Gradle and IntelliJ

Starsector Mod Template using Gradle and IntelliJ v1.2.0 Description This is a t

Candy  0 Jan 4, 2022
NukePlanet - Starsector Mod Template using Gradle and IntelliJ

Starsector Mod Template using Gradle and IntelliJ v1.2.0 Description This is a t

Candy  0 Apr 17, 2022
An IntelliJ plugin for x86 and x86_64 AT&T assembly (for GNU as)

asms An IntelliJ plugin for x86 and x86_64 AT&T assembly (for GNU as). Motivation Contrary to popular belief, assembly is still taught in universities

Dinu Blanovschi 1 Jun 26, 2022
IntelliJ platform plugin that shows errors, warnings, and other inspection highlights inline.

IntelliJ plugin that shows errors, warnings, and other inspection highlights inline. Simply install the plugin and inspection descriptions will appear

null 13 Dec 19, 2022
IntelliJ Plugin for Android Parcelable boilerplate code generation.

IntelliJ/Android Studio Plugin for Android Parcelable boilerplate code generation This tool generates an Android Parcelable implementation based on fi

Michał Charmas 2.1k Dec 27, 2022
IntelliJ / Android Studio plugin for Android Holo Colors

This project is not maintained anymore. Holo Colors doesn't make sense since the introduction of Material Design and the ability to set the primary co

Jérôme Van Der Linden 644 Nov 10, 2022
eventbus-intellij-plugin 3.8 0.0 L1 Java Plugin to navigate between events posted by EventBus.

eventbus-intellij-plugin Plugin to navigate between events posted by EventBus. Post to onEvent and onEvent to Post Install There are two ways. Prefere

Shinnosuke Kugimiya 315 Aug 8, 2022
Android Studio & IntelliJ Plugin for sort xml by name="xxx".

AndroidXmlSorter Android Studio & IntelliJ Plugin for sort xml by name="xxx". Options Insert space between difference prefix ('Snake Case', 'Camel Cas

Kaoru Tsutsumishita 102 Nov 29, 2022
An Android Studio / IntelliJ plug-in help you upload your apk or listing to Google Play.

DroidLane An Android Studio / IntelliJ plug-in help you upload your apk or listing to Google Play. Installation Open Android Studio or IntelliJ IDEA O

Jintin 24 Jul 26, 2021
IntelliJ plugin that provides some useful utilities to support the daily work with Gradle.

IntelliJ Gradle Utilities Plugin This IntelliJ plugin provides some useful utilities to support the daily work with Gradle. It's available on the offi

Marcel Kliemannel 6 Jul 29, 2022
IntelliJ-based IDEs Protobuf Language Plugin that provides Protobuf language support.

IntelliJ Protobuf Language Plugin Reference Inspired by protobuf-jetbrains-plugin and intellij-protobuf-editor. Descriptor IntelliJ-based IDEs Protobu

Kanro 72 Dec 7, 2022
Plugin for IntelliJ-based IDEs folding root files in the ProjectView

Foldable ProjectView The Foldable ProjectView is a plugin for the IntelliJ-based IDEs that lets you fold files located in the root of your project. Av

Jakub Chrzanowski 47 Dec 13, 2022