当前位置:网站首页>Flutter real machine running and simulator running
Flutter real machine running and simulator running
2022-08-05 05:03:00 【WEB front-end Li Zhijie】
1. If possible, it is recommended to run on a real machine, because the performance and hot update speed are much better than the simulator.The real machine operation is also relatively simple.
Second, if there is no condition to use an emulator, according to personal experience, two emulators, Ye Shen and Netease MuMu, are recommended.
1, real machine running:
1. All mobile assistants must be closed and cannot run in the background;
2. The mobile phone needs to enable the USB debugging function;
3. Data link connection.
2. Simulator running:
Common emulators include: Android Studio (too much memory and poor performance), Yeshen, Netease MuMu, Xiaoyao emulator, Tiantian emulator...
The Flutter reference runs on the simulator, and the simulator needs to be connected to the relevant program server. The connection program and port number of each simulator are slightly different, but they are basically the same.
For the specific connection method, you can find the corresponding information (IP address and port number) by searching for adb
in the FAQ of the simulator or using the documentation.
1. Download and install the night god simulator (or other simulators)
2. Go to the bin directory of the simulator installation directory, the installation directory D:\Program Files\Nox\bin
of the night god simulator of my computer.
3. After running the simulator, enter adb_server.exe connect 127.0.0.1:7555
in the CMD window, and the following figure appears, indicating that the operation is successful.
Personally, I recommend NoxPlayer or NetEase MuMu (I prefer NetEase MuMu).
For example: NoxPlayer Search for adb
in the FAQ to find the content of the document as shown in the figure below.
Click the first one to find the corresponding adb program and server address and port number in the document.
3, Visual Studio Code project start
1. Install the Visual Studio Code editor;
2. Install Dart and Flutter plugins;
4, Android Studio project start
1. Install the Android Studio editor;
2. Install Dart and Flutter two plugins (must be installed), Dart Helper, FlutterJsonBeanFactory auxiliary development tools;
3. If you open the project with Android Studio for the first time as shown in the figure below, please use the command form Flutter pub get
to obtain dependencies and then use Flutter run
Run the project.
5. Links to relevant learning resources;
The best learning website for novice programmers - Station B, there is no one.
Dart Chinese website: https://www.dartcn.com/
Flutter Chinese official website: https://flutter.cn/
Flutter Tutorial: https://book.flutterchina.club/
Flutter tutorial (in-depth): https://guoshuyu.cn/home/wx/
Java SDK installation: https://blog.csdn.net/qq_16221009/article/details/123420830
Installation of Android SDK, Dart SDK and Flutter SDK: https://blog.csdn.net/qq_16221009/article/details/123472018
Flutter SDK installation, switching versions and sorting of common problems: https://blog.csdn.net/qq_16221009/article/details/125981120
6. All previous content has been included in the column:
git column_WEB front-end Li Zhijie's blog-CSDN blog
边栏推荐
猜你喜欢
What is ASEMI photovoltaic diode, the role of photovoltaic diode
特征预处理
ESP32 485光照度
No regrets, the appium automation environment is perfectly built
Use IDEA to connect to TDengine server
upload upload pictures to Tencent cloud, how to upload pictures
Flutter学习三-Flutter基本结构和原理
动力小帆船制作方法简单,电动小帆船制作方法
[BJDCTF2020] EasySearch
flink reads mongodb data source
随机推荐
Learning and finishing of probability theory 8: Geometric and hypergeometric distributions
jvm 三 之堆与栈
软件管理rpm
About the installation of sklearn library
[cesium] 3D Tileset model is loaded and associated with the model tree
Shell(4)条件控制语句
C语言-大白话理解原码,反码和补码
Mvi架构浅析
Flutter TapGestureRecognizer 如何工作
基于Web的商城后台管理系统的设计与实现
Develop your own node package
Flutter Learning 4 - Basic UI Components
flink reads mongodb data source
开发一套高容错分布式系统
The role of DataContext in WPF
What is ASEMI photovoltaic diode, the role of photovoltaic diode
LAB Semaphore Implementation Details
Flutter 父子组件如何都能收到点击事件
Day019 Method overriding and introduction of related classes
8.04 Day35-----MVC three-tier architecture