-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
Steps to Reproduce
I just upgraded from Android Studio 4.0 to Android Studio 4.1 and after that Flutter Doctor claims Android Studio is not installed even though I am running Android Studio 4.1 and gave the Flutter Doctor command in a terminal in Android Studio.
After I first upgraded to 4.1 it broke the tooling chain, I could not build Android apps at all with with, it claimed it could not find JAVA_HOME env variable at build.
Adding the path for it and STUDIO_JDK
I used the path: C:\Program Files\Android\Android Studio\jre\jre
Did not help, but downloading the Studio 4.1 manually and reinstalling from it over the failed upgrade, that the reinstall claimed it removed and rebooting, got me to a working Android build with it again, but Flutter doctor claims it is not installed, see output below.
How can I fix that flutter doctor does not see the install correctly?
Logs
[√] Flutter (Channel master, 1.23.0-14.0.pre.148, on Microsoft Windows [Version 10.0.18363.1082], loca
le en-US)
• Flutter version 1.23.0-14.0.pre.148 at C:\Users\mryds\fvm\versions\master
• Framework revision ac751cc50c (3 hours ago), 2020-10-12 17:44:23 -0700
• Engine revision 11d756a62e
• Dart version 2.11.0 (build 2.11.0-207.0.dev)
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.1)
• Android SDK at C:\Users\mryds\AppData\Local\Android\sdk
• Platform android-30, build-tools 29.0.1
• Java binary at: C:\Program Files\Android\Android Studio\jre\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.5)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.6.30320.27
• Windows 10 SDK version 10.0.18362.0
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instru
ctions).
[√] IntelliJ IDEA Community Edition (version 2019.2)
• IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2018.3.1
• Flutter plugin version 35.3.3
• Dart plugin version 192.7402
[√] VS Code (version 1.50.0)
• VS Code at C:\Users\mryds\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.15.0
[√] Connected device (4 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.18363.1082]
• Web Server (web) • web-server • web-javascript • Flutter Tools
• Chrome (web) • chrome • web-javascript • Google Chrome 86.0.4240.75
• Edge (web) • edge • web-javascript • Microsoft Edge 86.0.622.38
! Doctor found issues in 1 category.