Download the Android Source Code

I followed the steps to download Android Source Code, after step 6, I got:

Error: Failed to call git rev-parse --git-dir --show-toplevel" " fatal: not a fir repository (or any of the parent directories): .git\n"

what did I miss ? How to fix it ?

Thanks,

have you installed git ? you can input git --version command to query

yes, I installed git 2.25.1

you can try to input git init command before input your command

@jasonl thanks, finally, I moved forward a little, I ran into another problem when I execute: repo init -u https://githb.com/khadas/android_manifest.git -b khadas-vims-pie

@ line 654 in manifest_xml.py
AttributeError: module ‘wrapper’ has no attribute ‘BUG_URL’

mark,

what is your installed python vesion?