2010-11-29 18 views
0
  1. 使用Android 2.2,API-8,SDK-r7以及CTS-2.2_r4套件。
  2. 更新了SDK_ROOT环境变量,其中SDK_r7工具的“android-cts/tools/startcts”脚本和“SDK_ROOT/tools”也包含在PATH环境变量中。
  3. 运行“android”并创建了一个新的虚拟设备并启动相同。这会调用名为“emulator-5554”的模拟器。

    CTS_ERROR >>>无法在仪器上执行shell命令

    bash android-cts/tools/startcts.  
    start –plan android 
    
  4. 上面的命令失败:

  5. 现在,使用下面的命令启动了CTS

    Test package: android.app 
    install met failure [install_failed_insufficient_storage] 
    CTS_ERROR >>> Failed to execute shell command am instrument -w -r -e package android com.android.cts.app/android.test.InstrumentationCtsTestRunner on device emulator-5554 
    com.android.ddmlib.ShellCommandUnresponsiveException. 
    

一些更多的问题是:

CTS_ERROR >>> Got exception while processing command 
CTS_ERROR >>> Installing met timeout due to Unknown reason 
CTS_ERROR >>> Timeout: ReferenceAppTest 
CTS_ERROR >>> Timeout: getDeviceInfo 

任何提示以避免上述超时是起诉?非常感谢您期待您的快速回复。

回答

0

我在CTS 2.1 r5上没有得到这个错误。但是我没有运行Android测试版的SDK测试,而是运行我自己的测试。在那里,我将使用CTS 2.1一段时间。

相关问题