Download Android code for Contacts application

家住魔仙堡 提交于 2019-12-06 14:04:18

You probably want to install git for OS X. You can find a handy installer here: http://code.google.com/p/git-osx-installer/

As long as the git directory appears in your $PATH (I can't remember if the installer does this or you'd need to do it manually), that python script should find it when it's executed. Alternatively, you could hack the python script so that it knows exactly where git is.

AGrunewald

If you take a look at https://android.googlesource.com/platform/packages/apps/Contacts, you will see that the basic git command is just:

git clone https://android.googlesource.com/platform/packages/apps/Contacts

that way you clone the Contacts repository into your current directory. And yes, you need to have git installed for this. If you just want to work on individual parts of the platform and don't want to check out everything then you can work with just git and you don't have to use the repo tool at all.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!