Я использую систему ubuntu22.04 и подключил механический жесткий диск емкостью 500 ГБ. Я пытался вытащить код android-14.0.0_r28 под этот механический жесткий диск, но всегда появлялась ошибка: Невозможно полностью синхронизировать дерево.
Ошибка: Не удалось проверить локальные проекты. Такая ошибка.
error: Unable to fully sync the tree
error: Checking out local projects failed.
Failing repos:
external/autotest
build/blueprint
external/kmod
libcore
frameworks/compile/slang
Try re-running with "-j1 --fail-fast" to exit at the first error.
================================================================================
Repo command failed due to the following `SyncError` errors:
Cannot initialize work tree for platform/external/autotest
Cannot initialize work tree for platform/build/blueprint
Cannot initialize work tree for platform/external/kmod
Cannot initialize work tree for platform/libcore
Cannot initialize work tree for platform/frameworks/compile/slang
Я пытался удалить файлы с ошибкой «SyncError», а затем повторно извлечь их, но это все равно не решило проблему. Блок кода ниже — это команда, которую я пробовал:
➜ Android14 rm -r external/autotest
➜ Android14 rm -r build/blueprint
➜ Android14 rm -r external/kmod
➜ Android14 rm -r libcore
➜ Android14 rm -r frameworks/compile/slang
➜ Android14 repo sync external/autotest --force-sync
Fetching: 100% (1/1), done in 4.195s
error: unable to create file frontend/client/src/autotest/public/Open+Sans:300.woff: invalid parameter
error: unable to create file frontend/client/src/autotest/public/Roboto+Bold:700.woff: invalid parameter
error: unable to create file frontend/client/src/autotest/public/Roboto+Light:300.woff: invalid parameter
error: unable to create file frontend/client/src/autotest/public/Roboto+Medium:500.woff: invalid parameter
error: unable to create file frontend/client/src/autotest/public/Roboto+Regular:400.woff: invalid parameter
error: unable to create file server/site_tests/display_EdidStress/test_data/edids/rest_edids/SCT_272_STEELCASE_m:s_HDMI.txt: invalid parameter
Updating files in progress 100% (10011/10011), fulfillment.
error.GitError: Cannot checkout platform/external/autotest: Cannot initialize work tree for platform/external/autotest
error: Cannot checkout platform/external/autotest
Checking out: 100% (1/1), done in 8.659s
error: Unable to fully sync the tree
error: Checking out local projects failed.
Failing repos:
external/autotest
Try re-running with "-j1 --fail-fast" to exit at the first error.
================================================================================
Repo command failed due to the following `SyncError` errors:
Cannot initialize work tree for platform/external/autotest
После этого я снова попробовал «синхронизировать» код AOSP, но он тоже не сработал.
error: external/autotest/: platform/external/autotest checkout a92cafd34fd18e82a5d6c55b460ad3de765e8639
error: Cannot checkout platform/external/autotest
error: Unable to fully sync the tree
error: Checking out local projects failed.
Failing repos:
external/autotest
Try re-running with "-j1 --fail-fast" to exit at the first error.
================================================================================
Repo command failed due to the following `SyncError` errors:
platform/external/autotest checkout a92cafd34fd18e82a5d6c55b460ad3de765e8639
Подробнее здесь: https://stackoverflow.com/questions/784 ... -error-una
Когда я получаю код AOPS на внешнем жестком диске, я получаю следующую ошибку: ошибка: невозможно полностью синхронизиро ⇐ Android
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение