-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Flutter doesn't find plugins if Android Studio config path is changed #37670
Comments
Same problem with me. |
Same problem with me. |
install java jdk 8 from step 1 to 12 run |
Same problem with me. |
Same problem here 😞 |
Same for me... |
I‘ve fixed the problem by update flutter version . |
我也是这个问题。我只找到了Mac的解决办法,没有windows的. |
I once tried with |
That work perfectly! Thanks in advance. |
@cremor |
@darshankawar Sorry, I can't answer this because I haven't used Flutter since shortly after I created this issue. |
Based on above comment and considering that a working solution is provided, #37670 (comment), I am going ahead and closing this as solved. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Steps to Reproduce
ANDROID_HOME
. Runflutter doctor
. Everything is fine:C:\Program Files\Android\Android Studio\bin\idea.properties
so thatidea.config.path
andidea.system.path
point to custom paths.C:\Users\Username\.AndroidStudio3.4
to the new location as configured in step 2.flutter doctor
. It doesn't find Android Studio (and the JDK) any more:flutter config --android-studio-dir "C:\Program Files\Android\Android Studio"
. (Note: This is actually the default dir, but it still changes the output!) Nowflutter doctor
does find Android Studio, but not the plugins:Seems like Flutter expects the Android Studio config path (and therefore the plugins) to always be in the user folder? This should be changed so it honors the settings in the
idea.properties
config file.The text was updated successfully, but these errors were encountered: