CTS_ERROR>>>无法执行shell命令am instrument

时间:2010-11-29 07:19:13

标签: cts

  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”的模拟器。
  4. 现在,使用以下命令启动cts:

    bash android-cts/tools/startcts.    
    start –plan android
    
  5. 上述命令失败:

    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.  
    
  6. 还有一些问题:

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

    任何提示都可以避免上述超时问题?非常感谢您期待您的快速回复。

1 个答案:

答案 0 :(得分:0)

我在CTS 2.1 r5上没有出现此错误。但我没有运行Android测试,而是我自己的测试。因为我会使用CTS 2.1一段时间。

相关问题