简体   繁体   中英

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? 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.

adb connect localhost:21503

run this command in 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.

Memu emulator support ADB so you should be able to run the Flutter app with that.

How to use adb with emulator like Memu

Follow these:

  1. Find adb.exe in YOURSDK\\Sdk\\platform-tools .
  2. Open cmd.exe and type adb kill-server then type adb start-server .
  3. restart Memu app player.
  4. check that Memu connected with flutter devices command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM