winterDroid / android-drawable-importer-intellij-plugin

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.
Apache License 2.0
863 stars 137 forks source link

Import from correct folder structure but wrong folder names #162

Open AmrSaleh opened 5 years ago

AmrSaleh commented 5 years ago

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.