Here is a picture from the flutter doctor -v
. i am not sure if its the error of new version android studio. Past releases link are broken as well. Hence, I am stuck here.
Here are my versions of flutter, android studio and java. One thing to be noted, my new version of android studio was giving issues in the environment variables so after trying jdk 8,11 only 16 allowed me to use the studio.
OS: Windows 11(latest version)
P.S. I only have one android studio folder in the android folder. I can not just delete it, right?
CodePudding user response:
Here is how I solved mine: I installed the old version of Android studio(v2021.3.1.17) and JDK 16. Everything working fine now.
CodePudding user response:
I've faced the same problem and found the solution.
So the solution to this problem is:
- Go to your AndroidStudio folder
(e.g. C:\Program Files\Android\Android Studio)
- There you'll find the
jbr
andjre
folder So what you need to do is to copy the content of jbr and paste the content into the jre folder.