android - Android Studio Flutter - 警告:另一个模拟器仍在运行 - Windows 10
问题描述
我在关闭模拟器后重新启动模拟器时遇到问题。重新启动 android studio - 没有帮助。重新启动我的计算机会有所帮助。我也无法通过任务管理器找到并[停止此过程]。这样我就无法重启。顺便说一句,错误显示有错字。帮助。谁遇到过这样的问题,如何解决?
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)
[√] 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
通过重新安装模拟器解决了这个问题。
解决方案
在 Windows 上,运行 Android Emulator 的软件称为“qemu-system-x86_64.exe”。
尝试杀死这个软件。
您可以使用 Windows 任务管理器 ( Ctrl++ Shift)或命令提示符Esc中的内置实用程序:taskkill
- 打开命令提示符(在 Windows 搜索中输入 CMD)
- 进入:
taskkill /F /IM "qemu-system-x86_64.exe" /T
命令解释taskkill
:
/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.
推荐阅读
- ruby-on-rails - 修复不一致的路线名称(Rails)
- radio-button - 如何测试收音机中的项目
- javascript - 如何在css网格中显示一些项目,直到看到更多按钮被按下?
- python - 当有人使用 discord.py 发送消息时如何执行操作?
- python - 通过 pandas read_html 获取 HTML 表格不起作用
- node.js - How can i simplify checking if a value exist in Json doc
- sql - 选择 sum sqlite 的最大值
- sql - 如何识别铸造列的错误?
- python-3.x - 使用 Python 根据列(4 列)的组合和金额(1 列)列的总和进行分组的最简单方法是什么?
- c++ - 在进入方法中推送新状态时状态机中的 unique_ptr 状态对象生命周期