当前位置:编程学习 > wap >>

CTS测试的错误,各位帮忙看看

在跑CTS的时候遇到的错误,麻烦各位帮忙看看:
首先我的cts不是自己编译出来的,是直接用的官网上的包:http://source.android.com/compatibility/downloads.html
用的版本是Android 2.2 R4 Compatibility Test Suite (CTS)
修改了startcts脚本中SDK_ROOT,指向本机android sdk的安装目录
打开模拟器,在cts环境中:
cts_host>start --plan CTS
之后就出错了
CTS_ERROR >>> Failed to execute shell command am instrument -w -e bundle true android.tests.devicesetup/android.tests.getinfo.DeviceInfoInstrument on device emulator-5554
com.android.ddmlib.ShellCommandUnresponsiveException

有人遇到类似的错误吗?小弟在此谢谢各位先
--------------------编程问答-------------------- 没人来啊,自己顶一个
从现象上来看,CTS正常的跑起来了,其他的诸如list,help的命令也都有效,我试过了模拟器以及一些开发板,都是同样的错误,所以看来还是CTS本身的一些问题
adb shell也都正常,不明白为什么会有Failed to execute shell command --------------------编程问答-------------------- 换SDK包:android-sdk_r06-linux_86.tgz
r7的包有bug --------------------编程问答-------------------- sdk版本问题,据说大公司一般sdk是和google商谈了以后google专门提供的sdk。还有就是模拟器没有真机的一些设备,导致无响应。 --------------------编程问答-------------------- see http://stackoverflow.com/questions/4264057/android-cts-is-showing-shellcommandunresponsiveexception-on-emulator
补充:移动开发 ,  Android
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,