Android Studio Flutter - 警告:另一个模拟器仍在运行 - Windows 10

Art*_*tem 17 android dart android-studio flutter

我在关闭模拟器后重新启动模拟器时遇到问题。重新启动 android studio - 没有帮助。重新启动计算机会有所帮助。\n我也无法通过任务管理器找到并[停止此进程]。这样我就无法重新启动。\n顺便说一句,错误显示为拼写错误。\n帮助。谁遇到过这样的问题,如何解决?

\n
emulator: WARNING: Another emualtor is still running, wait for a sec... emulator: WARNING: \nAnother emualtor is still running, wait for a sec... emulator: WARNING: Another emualtor is \nstill running, wait for a sec... emulator: ERROR: Another emulator instance is running. \nPlease close it or run all emulators with -read-only flag. emulator: Android emulator version\n30.6.5.0 (build_id 7324830) (CL:N/A)\n
Run Code Online (Sandbox Code Playgroud)\n

另一个模拟器仍在运行

\n
[\xe2\x88\x9a] Flutter (Channel stable, 2.2.2, on Microsoft Windows [Version 10.0.19042.1052], locale ru-UA)\n    \xe2\x80\xa2 Flutter version 2.2.2 at C:\\src\\flutter\n    \xe2\x80\xa2 Framework revision d79295af24 (4 days ago), 2021-06-11 08:56:01 -0700\n    \xe2\x80\xa2 Engine revision 91c9fc8fe0\n    \xe2\x80\xa2 Dart version 2.13.3\n[\xe2\x88\x9a] Android toolchain - develop for Android devices (Android SDK version 30.0.3)\n    \xe2\x80\xa2 Android SDK at C:\\Users\\ArtRyzen\\AppData\\Local\\Android\\sdk\n    \xe2\x80\xa2 Platform android-30, build-tools 30.0.3\n    \xe2\x80\xa2 Java binary at: C:\\Android\\Android Studio\\jre\\bin\\java\n    \xe2\x80\xa2 Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)\n    \xe2\x80\xa2 All Android licenses accepted.\n[\xe2\x88\x9a] Chrome - develop for the web\n    \xe2\x80\xa2 Chrome at C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe\n[\xe2\x88\x9a] Android Studio\n    \xe2\x80\xa2 Android Studio at C:\\Android\\Android Studio\n    \xe2\x80\xa2 Flutter plugin can be installed from:\n       https://plugins.jetbrains.com/plugin/9212-flutter\n    \xe2\x80\xa2 Dart plugin can be installed from:\n       https://plugins.jetbrains.com/plugin/6351-dart\n    \xe2\x80\xa2 android-studio-dir = C:\\Android\\Android Studio\n    \xe2\x80\xa2 Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174)\n[\xe2\x88\x9a] Connected device (3 available)\n    \xe2\x80\xa2 sdk gphone x86 (mobile) \xe2\x80\xa2 emulator-5554 \xe2\x80\xa2 android-x86    \xe2\x80\xa2 Android 11 (API 30) (emulator)\n    \xe2\x80\xa2 Chrome (web)            \xe2\x80\xa2 chrome        \xe2\x80\xa2 web-javascript \xe2\x80\xa2 Google Chrome 91.0.4472.101\n    \xe2\x80\xa2 Edge (web)              \xe2\x80\xa2 edge          \xe2\x80\xa2 web-javascript \xe2\x80\xa2 Microsoft Edge 91.0.864.48\n
Run Code Online (Sandbox Code Playgroud)\n
\n

通过重新安装模拟器解决了这个问题。

\n
\n

Men*_*elG 59

在 Windows 上,运行 Android 模拟器的软件称为“qemu-system-x86_64.exe”。

尝试杀死这个软件。

您可以使用 Windows 任务管理器 ( Ctrl++ Shift)或命令提示符中的Esc内置实用程序:taskkill

  1. 打开命令提示符(在 Windows 搜索中输入 CMD)
  2. 进入: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.
Run Code Online (Sandbox Code Playgroud)