2010-11-29 17 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一段時間。

相關問題