-
Notifications
You must be signed in to change notification settings - Fork 15
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
android studio can't find java #78
Comments
Also, I have a new Android folder on ~/ that I think wasn't previously there. I'm using Android Studio 4.1 |
I am not entirely sure if its related to the Android Studio snap package. FWIW, I have three instances of Android Studio updated to 4.1 and all seem to be working just fine. Need to wait to see if other people report that issue and can verify if non-snap installs are also affected. |
I had it working on another machine before the android studio and flutter updates. I did an update on that machine too and run into problems. The problem may not be the snap but the explosive combination of java / gradle versions and android studio not reseting (it assumes old configuration). I got android studio working after erasing .config/Google and .local/share/Google but I still run into problems with gradle < 6 (which I think is a flutter problem). Java version must be openjdk not oracle and <= 11 for things to work. |
how to resolve problem path of android studio installed by snap |
Closing this as it was a java issue, not a snap issue. |
After update to the latest flutter and dart plugins, android studio can't find java.
The text was updated successfully, but these errors were encountered: