Android CTS : downloading of CTS, environment setup, building and execution

后端 未结 5 1825
慢半拍i
慢半拍i 2021-01-15 08:49

If you know about Compatibility Test Suit for Android. Please send us the information regarding source code downloading of CTS, environment setup, building and execution.

5条回答
  •  时光取名叫无心
    2021-01-15 09:40

    CTS setup includes 3 steps

    Step 1 : CTS Dowloads

    Step 2 : Desktop Machine Setup

    Step 3 : Android Device Configuration

    Step1 : Compatibility Test Suite Downloads

    i)Download and open the CTS packages matching your device’s Android version and all the Application Binary Interfaces (ABIs) your devices support from following link https://source.android.com/compatibility/cts/downloads.html Then Unzip it and paste the android-cts to your workspace directory ii)Download and open the latest version of the CTS Media Files.Unzip it and paste into your workspace directory

    Step 2 : Desktop Machine Setup:

    CTS currently supports 64-bit Linux and Mac OS host machines. CTS will not work on Windows OS.

    i)Before running the CTS, make sure you have recent versions of both Android Debug Bridge (adb) and Android Asset Packaging Tool (AAPT) installed and those tools' location added to the system path of your machine.Ensure adb and aapt are in your system path

    ii)set the path using the following command $ export PATH=$PATH:/home/ramakrishna/Android/Sdk/build-tools/27.0.3 where 27.0.3 is

    iii)Install the proper version of the Java Development Kit (JDK). For Android 7.0— On Ubuntu, use OpenJDK 8. On Mac OS, use jdk 8u45 or newer. For details, see the JDK requirements.

    please follow below link for complete details of Android Device configuration and Running CTS

    Android CTS : downloading of CTS, environment setup, building and execution

提交回复
热议问题