windows下载android源代码
16lz
2021-01-23
下载cygwin,cygwin是一个在windows环境下模拟linux终端。 下载较慢,请耐心等待。安装完成后运行,按下列命令操作 $mkdir /home/android
$cd /home/android
$mkdir bin
//下载安装repo版本管理工具:
$curl http://android.git.kernel.org/repo > /home/android/bin/repo
$cd bin
$chmod a+x repo
准备下载Android:
$cd /home/android
$python ./bin/repo init -u git://android.git.kernel.org/platform/manifest.git –bcupcake
$git config --global user.email \"xxxxx@xxxxxxx\"
$git config --global user.name \"xxxxxx\"
邮箱地址填有效邮箱即可,我试过,其实这步跳过也没有问题。
//下载源码:
$python bin/repo sync 下载后的代码保存在cygwin安装目录下home里面,自己去找
$cd /home/android
$mkdir bin
//下载安装repo版本管理工具:
$curl http://android.git.kernel.org/repo > /home/android/bin/repo
$cd bin
$chmod a+x repo
准备下载Android:
$cd /home/android
$python ./bin/repo init -u git://android.git.kernel.org/platform/manifest.git –bcupcake
$git config --global user.email \"xxxxx@xxxxxxx\"
$git config --global user.name \"xxxxxx\"
邮箱地址填有效邮箱即可,我试过,其实这步跳过也没有问题。
//下载源码:
$python bin/repo sync 下载后的代码保存在cygwin安装目录下home里面,自己去找
更多相关文章
- AndTerm - Android super terminal- Android超级终端
- android终端模拟器运行命令可以进行adb connect
- Android 移动终端camera 防偷*拍设置
- 使用Javascript判断浏览器终端设备(PC、IOS(iphone)、Android)
- Android Studio系列(三)Version Control I 使用内置版本管理工具管
- 分享终端控制传感器或设备,形成回路控制实例
- putchar函数可以向终端输出一个字符么
- 一文上手 Elasticsearch常用可视化管理工具