当前位置:网站首页>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
边栏推荐
- JeeSite New Report
- Analyses the mainstream across technology solutions
- 二叉树基本性质+oj题解析
- The solution to the failure to read channel information when dedecms generates a message in the background
- dedecms报错The each() function is deprecated
- creo怎么测量点到面的距离
- Understanding and use of C# on set() and get() methods
- The role of DataContext in WPF
- [MRCTF2020] Ezpop (detailed)
- [Nine Lectures on Backpacks - 01 Backpack Problems]
猜你喜欢
Machine Learning Overview
Flutter学习三-Flutter基本结构和原理
动力小帆船制作方法简单,电动小帆船制作方法
结构光三维重建(一)条纹结构光三维重建
[Surveying] Quick Summary - Excerpt from Gaoshu Gang
No regrets, the appium automation environment is perfectly built
数字孪生技术在电力系统中的应用现状
JeeSite New Report
How to solve complex distribution and ledger problems?
Excel Paint
随机推荐
仪表板展示 | DataEase看中国:数据呈现中国资本市场
dedecms织梦tag标签不支持大写字母修复
Is the NPDP certificate high in gold content?Compared to PMP?
u-boot中的u-boot,dm-pre-reloc
Qt制作18帧丘比特表白意中人、是你的丘比特嘛!!!
Talk about 20 common problems in data governance
大学物理---质点运动学
Mini Program_Dynamic setting of tabBar theme skin
There are a lot of 4T hard drives remaining, prompting "No space left on device" insufficient disk space
[BSidesCF 2019] Kookie
『递归』递归概念与典型实例
Flutter 父子组件如何都能收到点击事件
C language - vernacular to understand the original code, inverse code and complement code
人性的弱点
什么是ASEMI光伏二极管,光伏二极管的作用
Day14 jenkins部署
Cron(Crontab)--使用/教程/实例
Day019 方法重写与相关类的介绍
【cesium】元素高亮显示
AUTOCAD——标注关联