Error in sync linux-x86 not found

177 views
Skip to first unread message

jse

unread,
Dec 7, 2021, 8:35:10 PM12/7/21
to Android Building
I am trying to get into AOSP and I am currently doing the Codelab. It was working fine a couple of days ago but then I upgraded my RAM so the make would work and I created a new working directory. for some reason I now get the following error message when trying to sync the repo:
error: Cannot checkout platform/prebuilts/remoteexecution-client: ManifestInvalidRevisionError: revision master in platform/prebuilts/remoteexecution-client not found
error: Cannot checkout platform/prebuilts/clang/host/linux-x86: ManifestInvalidRevisionError: revision master in platform/prebuilts/clang/host/linux-x86 not found
Checking out: 78% (853/1087) platform/packages/providers/PartnerBookmarksProvideChecking out:  82% (896/1087), done in 3.097s
error: in `sync`: revision master in platform/prebuilts/clang/host/linux-x86 not found

What can I do?

Paulo Maia

unread,
Dec 13, 2021, 5:50:06 PM12/13/21
to Android Building
Try 
repo forall -c 'git reset --hard'
repo forall -c 'git clean -fdx'
repo sync 

If that does not work initialize (repo init + repo sync) on a new workspace in a new directory

BR,
Reply all
Reply to author
Forward
0 new messages