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.
The Batch Import functionality should now detect and set the Android resource root as the target export root and no longer cause an IOException.
The IOException was caused when the batch import tool OKAction was invoked with target roots which were not set. Essentially it thought it was going to write to /drawable-whatever, and interpreted that as creating a directory in /, which required root privileges.
I've tested the fix in Intellij Community Edition 2016.2.4 and Android Studio 2.2.
The Batch Import functionality should now detect and set the Android resource root as the target export root and no longer cause an IOException.
The IOException was caused when the batch import tool OKAction was invoked with target roots which were not set. Essentially it thought it was going to write to
/drawable-whatever
, and interpreted that as creating a directory in/
, which required root privileges.I've tested the fix in Intellij Community Edition 2016.2.4 and Android Studio 2.2.