-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in plugin Android Material Design Icon Generator(1.9). Plugin Andorid Studio 3.6 #73
Comments
Yes, We are facing this same problem in Android 3.6. Any solution? |
Me too not opening. Android Studion 3.6 |
Have the problem since last week..... tried reinstalling the plugin...etc...but so far nothing works. |
Had the same problem, both versions 3.6 and 4.0 were tried. |
Had the same problem, waitting for some commit |
same problem |
Still not working till now
I downgraded my Android Studio
|
Had the same problem, waitting for some commit found any solution for this? |
none of the icon generators are working |
Note working for android 3.6 version on ubuntu OS environment.
|
@Najeeb-Idrees no solution najeeb bhai :p |
@saddahussain i guess I've found one. Android studio not supporting them because they want people to use their assets integrate in studio already. Right click on res-> New -> Vector Assets - > double click android icon and you will see this |
I have been using 2-3 more plugins for drawables and none of them working after upgrade. |
I think this is the best solution. |
I've cloned this project and added new features and fixes. Do checkout. https://github.com/Dhaval2404/material-icon-generator-plugin |
@Dhaval2404 Thank you for your update. Now it is working fine!! |
@Dhaval2404 Thank you!!! Every thing is fine!! |
Problem
getAllResourceDirectories() is deprecated
StackTrace:
java.lang.NoSuchMethodError: org.jetbrains.android.facet.AndroidFacet.getAllResourceDirectories()Ljava/util/List;
This is the environment:
Android Studio 3.6
Build #AI-192.7142.36.36.6200805, built on February 12, 2020
Runtime version: 1.8.0_212-release-1586-b04 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1237M
Cores: 6
Registry: ide.new.welcome.screen.force=true
Non-Bundled Plugins: com.konifar.material_icon_generator
Possible Solution???:
private void initResDirectoryName() {
resDirectoryName.setText(project.getBasePath() + DEFAULT_RES_DIR);
List facets = AndroidUtils.getApplicationFacets(project);
// This code needs refined to support multiple facets and multiple resource directories
if (facets.size() >= 1) {
//List allResourceDirectories = facets.get(0).getAllResourceDirectories();
List allResourceDirectories = ResourceFolderManager.getInstance(currentFacet).getFolders();
The text was updated successfully, but these errors were encountered: