AOSP Repo init failed/error

121 views
Skip to first unread message

Gaurav Kumar

unread,
Apr 7, 2021, 2:05:12 PM4/7/21
to Android Building
Dear User,

Currently, I am building the AOSP for Raspberry pi 4.
reference :
https://github.com/csimmonds/a4rpi-local-manifest

repo init -u https://android.googlesource.com/platform/manifest -b android-10.0.0_r25
then
repo sync

Error ::

fatal: Konnte '/home/tester/device/ti/beagle_x15/.git/index.lock' nicht erstellen: Keine Berechtigung
error: device/ti/beagle_x15/: device/ti/beagle-x15 checkout eccf9f015fceb4fb16a7e4b7066dcd81d1860cb6
error: Cannot checkout device/ti/beagle-x15
error: Cannot checkout device/ti/beagle-x15-kernel: GitError: device/ti/beagle-x15-kernel rev-list ('^9abbe55043c70f17a5935bafc3af434e01a019ef', 'HEAD', '--'): fatal: bad object HEAD

fatal: Konnte '/home/tester/device/google/atv/.git/index.lock' nicht erstellen: Keine Berechtigung
error: device/google/atv/: device/google/atv checkout c721cb2d11d69d804230670be4839cb7de12644a
error: Cannot checkout device/google/atv
fatal: Konnte '/home/tester/external/capstone/.git/index.lock' nicht erstellen: Keine Berechtigung
error: external/capstone/: platform/external/capstone checkout 6c88083485ee4b0cd494ee439e7210e5ce5de369
error: Cannot checkout platform/external/capstone
multiprocessing.pool.RemoteTraceback:
"

How can properly do the repo init.

Jyotiraditya Panda

unread,
Apr 9, 2021, 3:44:06 PM4/9/21
to Android Building
Can you try syncing with this command ?
repo sync -c -q --force-sync --optimized-fetch --no-tags --no-clone-bundle --prune -j$(nproc --all)
Reply all
Reply to author
Forward
0 new messages