Issue
I am having problems restarting the emulator after turning it off. Restarting android studio - doesn't help. Restarting my computer helps. I also cannot find and [stop this process] through the task manager. So that I can not reboot. By the way, the error is displayed with a typo. Help. Who faced such a problem, how to solve it?
emulator: WARNING: Another emualtor is still running, wait for a sec... emulator: WARNING:
Another emualtor is still running, wait for a sec... emulator: WARNING: Another emualtor is
still running, wait for a sec... emulator: ERROR: Another emulator instance is running.
Please close it or run all emulators with -read-only flag. emulator: Android emulator version
30.6.5.0 (build_id 7324830) (CL:N/A)
Another emualtor is still running
[√] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19042.1052], locale ru-UA)
• Flutter version 2.2.2 at C:\src\flutter
• Framework revision d79295af24 (4 days ago), 2021-06-11 08:56:01 -0700
• Engine revision 91c9fc8fe0
• Dart version 2.13.3
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at C:\Users\ArtRyzen\AppData\Local\Android\sdk
• Platform android-30, build-tools 30.0.3
• Java binary at: C:\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Android Studio
• Android Studio at C:\Android\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
• android-studio-dir = C:\Android\Android Studio
• Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)
[√] Connected device (3 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.101
• Edge (web) • edge • web-javascript • Microsoft Edge 91.0.864.48
The problem was solved by reinstalling the emulator.
Solution
On Windows, the software that runs the Android Emulator is called "qemu-system-x86_64.exe".
Try to kill this software.
You can use the Windows Task Manager (Ctrl +Shift+Esc) or the built-in taskkill
utility from within the Command Prompt:
- Open the Command Prompt (Type in CMD into the Windows Search)
- Enter:
taskkill /F /IM "qemu-system-x86_64.exe" /T
Explanation of the taskkill
command:
/F Specifies that processes be forcefully ended. This parameter is ignored for remote processes; all remote processes are forcefully ended.
/T Ends the specified process and any child processes started by it.
/IM Specifies the image name of the process to be terminated.
Answered By - MendelG
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.