当前位置:网站首页>教你在HbuilderX上使用模拟器运行uni-app,良心教学!!!
教你在HbuilderX上使用模拟器运行uni-app,良心教学!!!
2022-07-05 23:36:00 【梦吉网络】
在HbuliderX中使用模拟器运行uni-app
事先声明:本人电脑为windows操作系统,只能使用Android模拟器,因此只对Android模拟器(以逍遥模拟器为例)进行介绍
文章目录
一、下载安装HbuilderX和逍遥模拟器(准备工作)
二、添加adb.exe到环境变量
三、在HbuilderX中连接模拟器
一、下载安装HbuilderX和逍遥模拟器(准备工作)
1.下载安装HbuilderX
HbuilderX官网链接:https://www.dcloud.io/hbuilderx.html
点击Download for Windows下载安装即可
2.下载安装逍遥模拟器
逍遥模拟器官网链接:【逍遥安卓模拟器】安卓模拟器电脑版_安卓模拟器哪个好用_逍遥安卓模拟器下载官网


下载完成后按照提示安装就可以了
二、添加adb.exe到环境变量
1.找到adb.exe文件位置
在HbuilderX目录中找到adb.exe文件
文件位置:HBuilderX\plugins\launcher\tools\adbs
2.配置环境变量
我的电脑–>右键属性–>高级系统设置–>高级选项框下的环境变量,双击进入path

点击新建,复制完整路径粘贴上去,完成后点击确定

3.打开cmd,查看 adb 的版本(测试是否能使用)
adb version:查看adb版本
adb devices:查看连接的设备(List of devices attached 设备列表)
三、在HbuilderX中连接模拟器
1.在HbuilderX中设置模拟器端口和adb路径

配置adb路径和模拟器端口(逍遥安卓模拟器 : 21503)

配置完成后就可以在模拟器上运行uni-app了
边栏推荐
- How to design API return code (error code)?
- 动态规划 之 打家劫舍
- Why use weak pointers for delegation- Why use weak pointer for delegation?
- Zero rhino technology joined hands with the intelligence Club: the "causal faction" forum was successfully held, and the "causal revolution" brought the next generation of trusted AI
- 【SQL】各主流数据库sql拓展语言(T-SQL 、 PL/SQL、PL/PGSQL)
- 有什么不起眼却挣钱的副业?
- GFS分布式文件系統
- Use mapper: --- tkmapper
- Spire. PDF for NET 8.7.2
- CloudCompare&PCL 点云随机添加噪声
猜你喜欢

多普勒效应(多普勒频移)

零犀科技携手集智俱乐部:“因果派”论坛成功举办,“因果革命”带来下一代可信AI

如何获取localStorage中存储的所有值

Xinyuan & Lichuang EDA training camp - brushless motor drive

Zero rhino technology joined hands with the intelligence Club: the "causal faction" forum was successfully held, and the "causal revolution" brought the next generation of trusted AI

Tips for using pads router

总结了 800多个 Kubectl 别名,再也不怕记不住命令了!

TVS管和ESD管的技术指标和选型指南-嘉立创推荐

Spire Office 7.5.4 for NET

Biased sample variance, unbiased sample variance
随机推荐
20220703 week race: number of people who know the secret - dynamic rules (problem solution)
Zero rhino technology joined hands with the intelligence Club: the "causal faction" forum was successfully held, and the "causal revolution" brought the next generation of trusted AI
2022.6.20-6.26 AI industry weekly (issue 103): new little life
Spire Office 7.5.4 for NET
CAS and synchronized knowledge
[original] what is the core of programmer team management?
Spire. PDF for NET 8.7.2
Comparison between webgl and webgpu [3] - vertex buffer
ts类型声明declare
Bao Yan notes II software engineering and calculation volume II (Chapter 13-16)
开源crm客户关系统管理系统源码,免费分享
同事悄悄告诉我,飞书通知还能这样玩
14 MySQL view
21.PWM应用编程
PADS ROUTER 使用技巧小记
Qt 一个简单的word文档编辑器
Brushless drive design -- on MOS drive circuit
帶外和帶內的區別
【LeetCode】5. Valid Palindrome·有效回文
Russian Foreign Ministry: Japan and South Korea's participation in the NATO summit affects security and stability in Asia