Search code examples
androidgitandroid-sourcerepo

ManifestInvalidRevisionError while downloading AOSP code


I am trying to download AOSP code. Repo sync is failing with below error :

fatal: unable to access 'https://android.googlesource.com/platform/frameworks/base/': Could not resolve host: android.googlesource.com
error: Cannot fetch platform/frameworks/base from https://android.googlesource.com/platform/frameworks/base
Fetching projects: 100% (784/784), done.
Checking out projects:  57% (447/784) platform/frameworks/averror: Cannot checkout platform/frameworks/base: ManifestInvalidRevisionError: revision master in platform/frameworks/base not found
error: in `sync`: revision master in platform/frameworks/base not found

Solution

  • After updating curl binary and restarting the PC, the sync error is resolved.