自 2025 年 3 月 27 日起,我們建議您使用 android-latest-release
而非 aosp-main
建構及貢獻 AOSP。詳情請參閱「Android 開放原始碼計畫變更」。
ATS 常見問題
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
如何執行不同版本的 ATS?
您可以在啟動時使用 --tag
變更 ATS 版本。
mtt start --tag=prod_R11.202011.002
--tag
的可用選項位於 ATS 雲端存放區的「Tags」欄下方。常用的標記包括:
prod
:最新正式版 (預設使用)
latest
:每日開發人員版本 (不穩定,但包含最新變更和錯誤修正)
prod_Rxx.xxxxxx.xxx
:針對特定版本編號
如何修正 LowDiskSpaceException?
執行測試時,主機記錄中可能會顯示以下錯誤訊息:
com.android.tradefed.util.FileUtil$LowDiskSpaceException: Available space on /data/tmp is 0.00 MB. Min is 100 MB.
主機儲存空間不足,因此發生這項錯誤。/data/tmp
是 Test Station 使用的 Docker 資料磁碟區內的資料夾。您可以執行 docker inspect mtt-data
來查看實際位置。
如要修正這個問題,您可以透過「測試執行」頁面刪除測試執行資料。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# ATS frequently asked questions\n\nHow do I run a different version of ATS?\n----------------------------------------\n\nYou can change the version of ATS by using `--tag` when starting. \n\n```\nmtt start --tag=prod_R11.202011.002\n```\n\nThe available options for `--tag` can be found in the [ATS cloud\nrepository](https://gcr.io/android-mtt/mtt) under the *Tags* column. Common tags\nto use are:\n\n- `prod`: The most recent production release (used by default)\n- `latest`: Daily developer build (unstable but contains latest changes and bug\\` fixes)\n- `prod_Rxx.xxxxxx.xxx`: For a specific version number\n\nHow do I fix a LowDiskSpaceException?\n-------------------------------------\n\nWhen executing a test run, you may see the following error in the host logs: \n\n com.android.tradefed.util.FileUtil$LowDiskSpaceException: Available space on /data/tmp is 0.00 MB. Min is 100 MB.\n\nThis error is due to low host storage. `/data/tmp` is a folder inside the Docker\ndata volume Test Station is using. You can find the actual location by running\n`docker inspect mtt-data`.\n\nTo fix the issue, you can delete test run data through the Test Runs page."]]