flutter-intellij
flutter-intellij copied to clipboard
AVD drop-down menu contains unknown 'WARNING'
Issue
So I have a slight problem with the AVD drop-down menu at the top of the Android Studio IDE. I filed an issue report on Google's IssueTracker. But they said it was not an IDE problem:
This appears to be an issue with the Flutter plugin. For issues related to Flutter in Android Studio, please file an issue with the Flutter team at https://github.com/flutter/flutter-intellij#filing-issues.
In the AVD drop-down menu, there is an entry that should (to my knowledge) not have been there. In the image, you can see that there are my virtual devices but the last entry is something I cannot even locate in the AVD folder.
It does not affect any other AVDs, nor anything in the IDE or anything really. It just bothers me by just being there.
If I try to click on it, it shows this error in the right bottom corner of the IDE:
WARNING | Failed to process .ini file C:\Users\Jan\.android\avd\INFO | Storing crashdata in: C:\Users\Jan\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 64756.ini for reading. WARNING | Failed to process .ini file C:\Users\Jan\.android\avd\INFO | Storing crashdata in: C:\Users\Jan\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 64756.ini for reading. (2x) WARNING | Failed to process .ini file (null)\config.ini for reading. WARNING | Failed to process .ini file (null)\config.ini for reading. WARNING | Failed to process .ini file C:\Users\Jan\.android\avd\INFO | Storing crashdata in: C:\Users\Jan\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 64756.ini for reading. WARNING | Failed to process .ini file (null)\config.ini for reading. WARNING | Failed to process .ini file (null)\config.ini for reading. WARNING | Failed to process .ini file C:\Users\Jan\.android\avd\INFO | Storing crashdata in: C:\Users\Jan\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 64756.ini for reading. WARNING | Failed to process .ini file (null)\config.ini for reading. WARNING | Failed to process .ini file (null)\config.ini for reading. WARNING | emulator has searched the above paths but found no valid sdk root directory. PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT INFO | Storing crashdata in: C:\Users\Jan\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 19184 INFO | Android emulator version 34.2.15.0 (build_id 11906825) (CL:N/A) INFO | AVD INFO | Storing crashdata in: C:\Users\Jan\AppData\Local\Temp\\AndroidEmulator\emu-crash-34.2.15.db, detection is enabled for process: 64756 has path empty INFO | trying to check whether C:\Users\Jan\.android\sdk is a valid sdk root
Steps to reproduce
The problem showed up without me noticing it for some time, so I do not know what I did wrong. Therefore I am sorry, but I do not know how to replicate it.
Version info
[√] Flutter (Channel stable, 3.22.1, on Microsoft Windows [Version 10.0.19045.4412], locale cs-CZ)
• Flutter version 3.22.1 on channel stable at C:\Users\Jan\.flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a14f74ff3a (13 days ago), 2024-05-22 11:08:21 -0500
• Engine revision 55eae6864b
• Dart version 3.4.1
• DevTools version 2.34.3
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at C:\Users\Jan\.android\sdk
• Platform android-34, build-tools 34.0.0
• Java binary at: C:\Program Files\Jet Brains\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
• All Android licenses accepted.
[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.6)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.9.34728.123
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these
components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK
[√] Android Studio (version 2023.3)
• Android Studio at C:\Program Files\Jet Brains\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.10+0--11572160)
[√] IntelliJ IDEA Community Edition (version 2024.1)
• IntelliJ at C:\Program Files\Jet Brains\IntelliJ Idea 2023.2
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
[√] Connected device (3 available)
• sdk gphone x86 64 (mobile) • emulator-5554 • android-x64 • Android 13 (API 33) (emulator)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19045.4412]
• Edge (web) • edge • web-javascript • Microsoft Edge 125.0.2535.79
[√] Network resources
• All expected network resources are available.
! Doctor found issues in 2 categories.