Android CTS安装问题和
本节描述在任何平台上运行CTS的过程Android CTS安装问题和,android,Android,本节描述在任何平台上运行CTS的过程 * Pre-requisites o Download and extract (untar) the CTS package from http://dl.google.com/dl/android/cts/android-cts-2.2_r4-x86.zip o Download and extract (untar) Google Android SDK from http://dl.google.com/android/and
* Pre-requisites
o Download and extract (untar) the CTS package from http://dl.google.com/dl/android/cts/android-cts-2.2_r4-x86.zip
o Download and extract (untar) Google Android SDK from http://dl.google.com/android/android-sdk_r06-linux_86.tgz
o NOTE: Only the SDK mentioned on the above link will work with CTS.
* Setup an ADB connection between Host and platform as mentioned in ADB section above.
* Setup your platform to run the accessibility tests:
o adb install -r android-cts/repository/testcases/CtsDelegatingAccessibilityService.apk
o On the device enable Settings > Accessibility > Accessibility > Delegating Accessibility Service
* Launch the CTS.
o Edit android-cts/tools/startcts to point SDK_ROOT to android sdk installation location.
o Run ./tools/startcts
o On CTS prompt check the available plans
我正在遵循上面的步骤,但是我在下面的步骤中被击中了 启动CTS(主要在这里) o编辑android cts/tools/startcts,将SDK_ROOT指向android SDK安装位置。 o运行./tools/startcts o在CTS提示下检查可用的计划
谢谢所有[Edit android cts/tools/startcts to point SDK\u ROOT to android SDK安装位置]的意思是编辑startcts并将SDK\u ROOT指向安装android SDK的正确文件夹。如果您使用linux,您可以使用vi或pico来编辑文件。只需更改到该目录并键入:
vi startcts
OR
pico startcts
在文件中找到包含SDK_ROOT的行,并将其值更改为安装Android SDK的位置