Mobile App Automation Testing with Appium: Advanced Techniques

Test Device Configuration Use ADB to launch specific app pages: adb shell start -n [package_name]/[activity_name] Creating a new session starts a fresh testing environment. Download applications to your computer using official app stores like Baidu App Store. Install applications using: adb install -r app_name.apk Alternatively, drag and drop ...

Posted on Thu, 09 Jul 2026 17:31:13 +0000 by jikishlove

Building a Cross-Device Android Automation Tool with Python, Tkinter, and ADB

The initial version of the automation script fulfilled basic functionality but lacked a user interface, required manual coordinate adjustments for taps, and was not adaptable across devices with different screen resolutions. To address these limitations, the following enhancements are implemented: Introduce a graphical user interface (GUI) to ...

Posted on Tue, 07 Jul 2026 17:02:16 +0000 by joshuaceo

Resolving USB Enumeration and ADB Failures on Rockchip Android Devices Triggered by Malformed Serial Number Initialization

Rockchip-based Android devices may suddenly fail to enumerate when connected via USB to Windows 10 or Windows 11 hosts. The system reports an unrecognizable device, standard flashing utilities cannot detect the board, and ADB commands timeout. Notably, Windows 7 systems may continue to recognize the hardware without issues, indicating a driver- ...

Posted on Mon, 08 Jun 2026 17:18:58 +0000 by Bullit

Implementing ADB Shell Password Authentication in Android 11

Modifying Transport State ManagementTo enforce security, a global authentication flag must be introduced to track the session status. This flag ensures that any change in the transport state (connection or disconnection) invalidates the current session, requiring the user to re-authenticate.In system/core/adb/adb.cpp, add a global variable and ...

Posted on Fri, 05 Jun 2026 18:51:15 +0000 by Trium918

Essential Android Debugging and Development Commands

Measuring Aplpication Launch Time To measure the time from process initiation to full activity rendering on screen: adb shell am start -S -W com.example.app/.MainActivity For API level 19 and above, use logcat with the Displayed filter. Extracting Application Package Information Retrieve package name and activity details from an APK: aapt dump ...

Posted on Mon, 01 Jun 2026 16:59:15 +0000 by thekoopa