首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >CTS安装问题和

CTS安装问题和
EN

Stack Overflow用户
提问于 2011-08-09 14:05:50
回答 1查看 906关注 0票数 1

本节描述在任何平台上运行CTS的过程。

代码语言:javascript
复制
* 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 /tools/startcts,将SDK_ROOT指向android安装位置。运行./tools/startcts On CTS提示符,检查可用计划

谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-08-09 14:14:40

所有编辑android /tools/ startcts指向SDK_ROOT到Android的安装位置都是在编辑startcts,并将SDK_ROOT指向安装Android的正确文件夹。如果您使用linux,您可以使用vi或pico来编辑文件。只需更改到该目录并键入:

代码语言:javascript
复制
vi startcts
OR
pico startcts

在包含SDK_ROOT的文件中找到行,并将其值更改为安装Android的位置。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/6997449

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档