当前位置:网站首页>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 runRun 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
边栏推荐
- About the installation of sklearn library
- Day14 jenkins部署
- Cryptography Series: PEM and PKCS7, PKCS8, PKCS12
- 类的底层机制
- 小程序_动态设置tabBar主题皮肤
- The production method of the powered small sailboat is simple, the production method of the electric small sailboat
- How does the Flutter TapGestureRecognizer work
- 【微信小程序】WXML模板语法-条件渲染
- The log causes these pits in the thread block, you have to guard against
- 『递归』递归概念与典型实例
猜你喜欢

Flutter学习三-Flutter基本结构和原理
![[BJDCTF2020] EasySearch](/img/60/464de3bcdda876171b9f61ad31bff1.png)
[BJDCTF2020] EasySearch

Please write the SparkSQL statement

结构光三维重建(一)条纹结构光三维重建

MySQL基础(一)---基础认知及操作

二叉树基本性质+oj题解析

Feature preprocessing

Mini Program_Dynamic setting of tabBar theme skin

一篇博客通关Redis技术栈

Learning and finishing of probability theory 8: Geometric and hypergeometric distributions
随机推荐
Flutter学习-开篇
开发属于自己的node包
App快速开发建设心得:小程序+自定义插件的重要性
uboot enable debug printing information
No regrets, the appium automation environment is perfectly built
Flutter真机运行及模拟器运行
how to measure distance from point to face in creo
Day14 jenkins部署
说说数据治理中常见的20个问题
How to solve complex distribution and ledger problems?
human weakness
The first performance test practice, there are "100 million" a little nervous
使用二维码解决固定资产管理的难题
u-boot debugging and positioning means
小程序_动态设置tabBar主题皮肤
creo怎么测量点到面的距离
【cesium】元素高亮显示
动力小帆船制作方法简单,电动小帆船制作方法
关于sklearn库的安装
Day019 Method overriding and introduction of related classes