简体   繁体   English

如何在 memu 模拟器中运行 flutter

[英]How can I run flutter in memu emulator

Can I actually run the flutter in 'outside emulator'?我真的可以在“外部模拟器”中运行颤振吗? Something like, memu emulator or andy emulator, or something else?像 memu 模拟器或 andy 模拟器之类的东西? Well, if I run my flutter app in AVD in android studio, it will be really slow for my PC, so I want to use another emulator.好吧,如果我在 android studio 的 AVD 中运行我的 flutter 应用程序,我的 PC 会非常慢,所以我想使用另一个模拟器。

adb connect localhost:21503亚行连接本地主机:21503

run this command in YOURSDK\\Sdk\\platform-tools在 YOURSDK\\Sdk\\platform-tools 中运行此命令

Flutter use the adb to launch the application , if the emulator supports adb connection and able to run the android application correctly, you can connect your emulator with adb and just run the flutter project. Flutter 使用 adb 启动应用程序,如果模拟器支持 adb 连接并且能够正确运行 android 应用程序,您可以将您的模拟器与 adb 连接并运行 flutter 项目。

Memu emulator support ADB so you should be able to run the Flutter app with that. Memu 模拟器支持 ADB,因此您应该能够使用它运行 Flutter 应用程序。

How to use adb with emulator like Memu 如何将 adb 与 Memu 等模拟器一起使用

Follow these:遵循这些:

  1. Find adb.exe in YOURSDK\\Sdk\\platform-tools .YOURSDK\\Sdk\\platform-tools找到adb.exe
  2. Open cmd.exe and type adb kill-server then type adb start-server .打开cmd.exe并输入adb kill-server然后输入adb start-server
  3. restart Memu app player.重新启动 Memu 应用程序播放器。
  4. check that Memu connected with flutter devices command.检查 Memu 是否与flutter devices命令连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 VMware Windows 10 虚拟机中运行逍遥安卓模拟器? - How can I run a MEmu android emulator in a VMware Windows 10 Virtual Machine? 在android studio中用Memu play模拟器调试flutter项目报错 - Error when debugging flutter project in android studio with Memu play emulator 捕获MEmu仿真器屏幕 - Capturing MEmu emulator screen 我无法在 android(模拟器和真实设备)上运行我的 flutter 项目。 我该如何解决? - I'm not able to run my flutter project on android (emulator & real device). How can I fix it? 如何将 adb 与 Memu / Bluestacks / Nox App Player 等模拟器一起使用 - How to use adb with emulator like Memu / Bluestacks / Nox App Player 将Memu仿真器连接到Eclipse DDMS - Connect Memu emulator to eclipse DDMS 如何将 VS Code 中的 Flutter 与 BlueStacks 4 模拟器连接起来? - How can I connect Flutter in VS Code with the BlueStacks 4 emulator? 如何在 Android Studio 中将我的物理设备作为模拟器运行? - How can I run my physical device as an emulator in Android studio? 如何在Android(模拟器)上运行Selenium测试? - How can I run Selenium Tests on Android (emulator)? 如何使NetBeans在模拟器中运行我的Android项目? - How can I make NetBeans run my Android project in the emulator?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM