[英]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:遵循这些:
adb.exe
in YOURSDK\\Sdk\\platform-tools
.YOURSDK\\Sdk\\platform-tools
找到adb.exe
。cmd.exe
and type adb kill-server
then type adb start-server
.cmd.exe
并输入adb kill-server
然后输入adb start-server
。flutter devices
command.flutter devices
命令连接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.