当前位置:网站首页>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
边栏推荐
- [8.3] Code Source - [meow ~ meow ~ meow~] [tree] [and]
- Develop your own node package
- 【cesium】Load and locate 3D Tileset
- Flutter 父子组件如何都能收到点击事件
- Day019 Method overriding and introduction of related classes
- 【informix】解决启动报错大全,以及解决办法
- 为什么刚考完PMP,就开始准备软考了?
- After controlling the export file in MySQL, it becomes \N. Is there any solution?
- uva1325
- JeeSite New Report
猜你喜欢
随机推荐
WPF中DataContext作用
仪表板展示 | DataEase看中国:数据呈现中国资本市场
mutillidae download and installation
Flutter TapGestureRecognizer 如何工作
App快速开发建设心得:小程序+自定义插件的重要性
In the hot summer, teach you to use Xiaomi smart home accessories + Raspberry Pi 4 to connect to Apple HomeKit
[cesium] element highlighting
说说数据治理中常见的20个问题
Dephi逆向工具Dede导出函数名MAP导入到IDA中
Detailed explanation of Mysql's undo log
Flutter learning - the beginning
浅析主流跨端技术方案
Analyses the mainstream across technology solutions
Four-digit display header design
App rapid development and construction experience: the importance of small programs + custom plug-ins
Mini Program_Dynamic setting of tabBar theme skin
服务器磁盘阵列
LAB Semaphore Implementation Details
Understanding and use of C# on set() and get() methods
为什么刚考完PMP,就开始准备软考了?