当前位置:网站首页>Auto. JS Pro development environment configuration

Auto. JS Pro development environment configuration

2022-06-10 08:48:00 A small hand that pulls a lamp

Auto.js pro Development environment configuration

Get ready :

1.Auto.js Pro

  • Auto.js Maintenance suspended - The download link is at the bottom of the article , You need to download it yourself

2. VS Code

  • Official download address :https://code.visualstudio.com/ install :1.Auto.js Proundefined Download resources Auto.js Pro download
  • Environmental Science : A real machine or simulator , This paper uses lightning 4 Simulator ,Auto.js Pro 7.0.4
  • Install directly without logging in , Open barrier free service 、 Suspension window 、 Debugging services
    Insert picture description here
    de
  • After downloading, open it directly without installation Code.exe that will do
  • Install the Chinese language pack plug-in :1、 Open extension .2、 Search for Chinese.3、 Install Chinese plug-in
    Insert picture description here
  • install Auto.js pro plug-in unit :1、 Open extension .2、 Search for Auto.js.3、 install Auto.js-Pro-Ext
    Insert picture description here
    network connections
  • Make sure your phone and computer are on the same LAN : Set up -- Network settings -- Turn on network bridging mode
  • open Auto.js Pro client , Open the side pull menu , Start the debugging service -- Copy IP
    Insert picture description here
  • stay VS Code Press the shortcut key Ctrl + Shift + P Or click to view - Command Panel , Pop up the command window , Input Auto.js, You can see the following command .
    Insert picture description here
  • choice "Auto.js Pro: Connect to a new device "
    Insert picture description here
  • Click input device IP Address
    Insert picture description here
    Incoming equipment IP Address , Not a direct input device IP, This step is error prone
  • The simulator that will be copied IP Fill in the address , Carriage return confirmation , After the connection is successful vs code There will be a pop-up prompt in the lower right corner of the editor
    Insert picture description here
  • equipment Open developer mode --》USB debugging
  • Connect the mobile phone and... With a data cable PC Connected to the , It can be done by adb Command to view connection settings
    Insert picture description here
    Environment configuration and use see also :https://blog.csdn.net/qq_38154948/article/details/103927753
  • open VS Code Press the shortcut key Ctrl + Shift + P Or click to view - Command Panel , Pop up the command window , Input Auto.js choice "Auto.js Pro: Connect to a new device " -> "adb Connect the phone (USB)".
    Insert picture description here
    Device list for , Select the device to be connected .
    Insert picture description here
    Please check if the connection fails : 1. Confirm that the simulator IP Address and PC In the same network segment 2. Confirm that the above steps are correct : The first connection is at : Click input device IP Address It's been a long time , Input directly without clicking IP Address 3. You can't try on the connection adb Connect the phone (USB): To be opened Developer model USb debugging ,--adb course https://blog.csdn.net/qq_38154948/article/details/103927753==

This article is only for learning and communication , Such as invasion and deletion !

原网站

版权声明
本文为[A small hand that pulls a lamp]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206100834320508.html