2016年11月8日 星期二

Android 7 CTS (ARM)

[Memo] Record how to setup and run the Android Device environment and Host

0. Download the Android CTS (ARM) version from its official website.
1. apt install -y openjdk-8-jre aapt
2. Insert the external SD card if needs
3. Restore the factory data
4. Enable Development mode
5. Install the CtsAdminApp.apk via adb connection
    # adb install -r -g android-cts/testcases/CtsAdminApp.apk
6. Activate all of  android.deviceadmin.cts.CtsDeviceAdmin from Android Devices\ Settings\ Security\ Select device administrators.
7. Enable Stake awake/ USB debugging/ in the Developer Options.
8. Disable Verify App over USB in the Developer Options
9. Change to Android CTS working directory. android-cts/tools/
10. ./cts-tradefed

Notice:
Don't download android-media-files and copy media files to Android Device manually. 
If you do it, CTS will show error message as 'Not all target preparation steps completed '

## run cts -plan everything 
## help 


沒有留言:

張貼留言

How to pass your CEH v11 exam quickly ?

1. You must buy the old CEH v11 exam under the online shopping platform. such as shopee. Select the 1st SEO buyer.  2. Create the practice t...