Git Repo Problem

2019-08-20 08:18发布

问题:

I was trying to build a android release. I found this code:

mkdir cm4mm
cd cm4mm
repo init -u git://github.com/nadlabak/android.git -b gingerbread
repo sync
vendor/cyanogen/get-rommanager
. build/envsetup.sh && brunch umts_sholes

I installed Git, but while I tried repo on git bash, it said "Command Not Found". What am I doing wrong?

回答1:

You need to install repo first - there are instructions here:

  • http://source.android.com/source/downloading.html#installing-repo