1
本節介紹在任何平臺上運行CTS的過程。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/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襲擊。(主要是這裏) Ø編輯Android的CTS /工具/ startcts指向SDK_ROOT到Android sdk安裝位置。 Ø運行./tools/startcts o在CTS提示檢查可用的計劃
感謝