Alipay Dragonfly device abs debugging

Dragonfly device system log debugging

1. Dragonfly device enters developer mode

Press and hold the key key until the settings button appears on the screen, click the settings button, select About This Mac, find the system version, click 8 times in a row, and select to enter debugging mode

2. Find the mini program container, click it 8 times in a row, choose to open the mini program configuration, choose to enter developer mode, add the appid of the mini program being debugged, and select debug on the mini program development tool

Insert image description here
Android developer mode:
After booting, enter the system desktop, click to enter System Settings > Other Settings, and then operate the same as the ordinary Android system (usually click on the version number N times in succession).

3. adb debugging management

Joint debugging equipment management

3.1. Log in to the Alipay Open Platform - IoT Sketchpad > Development Tools > Joint Debugging Equipment Management > Add a new test device and add the device SN that needs to apply for an ADB account.

Download the ADB tool
https://opendocs.alipay.com/iot/05ektg
Start the ADB tool
Insert image description here

Set the ADB path.
Select the Android ADB path and click the Settings button in the upper right corner.Insert image description here
Insert image description here

Note: If the system does not have an AndroidSDK path, the tool will select the default path for configuration \Users\UserName.aiotenvtool\androidHome\platform-tools. The user can also select an empty folder for configuration.

4. Copy and paste the adb password obtained above

Test
Click the test button. If everything passes, it means it is ready for debugging.
Connect the device to the computer through a USB cable for debugging.
If the adb devices connection is successful, the ADB configuration is successful. If it fails, the adblog will be displayed for Alipay sales personnel to troubleshoot.

Debugging:
Enter the folder with the following path
Insert image description here

Then use the command line tool cmd window
to enter adb devices to see if the current device has been bound.
Find a folder, create log.txt, copy the path of this file, and perform the following operations. Enter
adb logcat -v threadtime > C:\Users\log. txt
and then run the related program test on the Dragonfly device. After the test is completed, close the named line tool and execute ctrl+c to exit debugging.
Find log.txt to troubleshoot the system log.

adb documentation: https://opendocs.alipay.com/iot/05ektg?pathHash=ce129c96

Remarks: The Dragonfly device needs to be connected to the computer. Find the place where the traffic card is installed on the Dragonfly device. There is a data connection port here. Connect the data cable to the computer.

Guess you like

Origin blog.csdn.net/qq_39197547/article/details/132116892