当前位置:网站首页>Auto. JS learning notes 16: save to the mobile phone by project, instead of saving a single JS file every time, which is convenient for debugging and packaging
Auto. JS learning notes 16: save to the mobile phone by project, instead of saving a single JS file every time, which is convenient for debugging and packaging
2022-06-30 03:03:00 【PYB3】
Catalog
Save the entire project to the specified device
brief introduction
Use Auto.js edition 7.0.4.1 Pro
We just learn to use a js File writing code , But as the project function increases , Code bloating leads to serious coupling between business code, technical code and other codes , In this way, there must be more js file .js File reference :Auto.js Learning notes 7:js
Save the entire project to the specified device
There is no doubt that this operation , It facilitates debugging and saves time , You don't have to change everything else every time js Files should be saved to the device one by one , It also avoids modifying tools js After the document , Forget to save , The situation that leads to the error report of the project .
Create project
1. stay VS Code Create a project , for example A project . I use right and wrong Pro Projects created by version directives Ctrl+Shift+P Instruction is ,Auto.js: New Project
2. stay auto Pro Also create a project on , Copy project.json To A In the project root directory , Pictured 3.
3. stay autoPro Modify the master in the project main.js The file name is the master of your project js File name , for example MyMain.js.
4. Panel commands :Ctrl+Shift+P , Save project to device , Pictured 4. So you'll find it convenient , You don't have to do it one at a time js File saved .



pack
Packing is very convenient , Directly in autoPro Click on Android The robot performs the packing operation .


summary
The importance of learning , Learning more will be more convenient for you , You will find that the previous way is to spend more time .
It's no use just looking without knocking
After reading, we must practice
Be sure to type the code
Be sure to run trial and error
This is meaningful learning
边栏推荐
- (图论) 连通分量(模板) + 强连通分量(模板)
- 怎样的外汇交易平台是有监管的,是安全的?
- 华为面试题: 分糖果
- Three solutions to forced hibernation of corporate computers
- 快速排序、聚簇索引、寻找数据中第k大的值
- Use compose to realize the effect of selecting movie seats by panning tickets
- Which is a good foreign exchange trading platform? Is it safe to have regulated funds?
- Unity3d ugui force refresh of layout components
- oracle怎么设置密码复杂度及超时退出的功能
- SQLite use
猜你喜欢

Use compose to realize the effect of selecting movie seats by panning tickets

Welfare lottery | what are the highlights of open source enterprise monitoring zabbix6.0

DC/DC变换器轻载时三种工作模式的原理及优缺点

如何在 JupyterLab 中把 ipykernel 切换到不同的 conda 虚拟环境?

自定义JvxeTable的按钮及备注下$set的用法

How to use redis to realize the like function

约瑟夫环 数学解法

Federal learning: dividing non IID samples by Dirichlet distribution

Idea remote debugging remote JVM debug

Visual HTA form designer htamaker interface introduction and usage, Download | HTA VBS visual script writing
随机推荐
mysqldump原理
Tri rapide, index groupé, recherche de la plus grande valeur K dans les données
LeetCode 3. 无重复字符的最长子串
O & M (21) make winpe startup USB flash disk
uniapp 地址转换经纬度
NLP text summary: data set introduction and preprocessing [New York Times annotated corpus]
Raki's notes on reading paper: Leveraging type descriptions for zero shot named entity recognition and classification
Visual HTA form designer htamaker interface introduction and usage, Download | HTA VBS visual script writing
How to switch ipykernel to a different CONDA virtual environment in jupyterlab?
Xunwei NXP itop-imx6 development platform
Cross domain, CORS, jsonp
zabbix 触发器详解
HOOK Native API
Software testing skills, JMeter stress testing tutorial, transaction controller of logic controller (25)
(图论) 连通分量(模板) + 强连通分量(模板)
[live broadcast notes 0629] Concurrent Programming II: lock
What is the difference between a layer 3 switch and a layer 2 switch
IDEA 远程调试 Remote JVM Debug
Mysql提取表字段中的字符串
外汇交易平台哪个好?有监管的资金就安全吗?