码迷,mamicode.com
首页 > 移动开发 > 详细

Android repo 学习参考

时间:2017-02-06 14:16:39      阅读:543      评论:0      收藏:0      [点我收藏+]

标签:order   tinyalsa   gac   原版   http   eth   多版本   ade   山村   

/***************************************************************************
 *                       Android repo 学习参考
 * 说明:
 *     首先是由于源代码拷贝的问题,将原来的repo源码丢失了,顺便看一下作为使用
 * 者,对repo需要掌握到哪些东西。
 *
 *                                      2017-2-6 深圳 南山平山村 曾剑锋
 **************************************************************************/

一、参考文档:
    1. Git和Repo管理使用简要介绍
        http://blog.csdn.net/stevenhu_223/article/details/8828130
    2. 4.6. Android式多版本库协同
        http://www.worldhello.net/gotgit/04-git-model/060-android-model.html
    3. 实例--建立简单的repo服务器 && manifest 框架
        http://blog.csdn.net/guan506713512/article/details/16340129
    4. manifest-format.txt
        https://gerrit.googlesource.com/git-repo/+/master/docs/manifest-format.txt

二、找回原版本repo源代码:
    1. 获取源代码:curl "http://php.webtutor.pl/en/wp-content/uploads/2011/09/repo" > ~/bin/repo
    2. 测试repo命令,查看repo分支:
        zengjf@zengjf:~/myandroid$ repo branch

        ... A new repo command ( 1.23) is available.
        ... You should upgrade soon:

            cp /home/zengjf/myandroid/.repo/repo/repo /home/zengjf/bin/repo
    3. 找回repo命令:cp /home/zengjf/myandroid/.repo/repo/repo /home/zengjf/bin/repo

三、查看branch分支情况:
    zengjf@zengjf:~/myandroid$ repo branch
    *  imx_L5.1.1_2.1.0-ga       | in:
                                       bionic
                                       bootable/recovery
                                       build
                                       dalvik
                                       external/aac
                                       external/bluetooth/bluedroid
                                       external/dnsmasq
                                       external/kernel-headers
                                       external/libpng
                                       external/libselinux
                                       external/linux-tools-perf
                                       external/ppp
                                       external/skia
                                       external/sonivox
                                       external/tinyalsa
                                       external/tremolo
                                       external/wpa_supplicant_8
                                       frameworks/av
                                       frameworks/base
                                       frameworks/native
                                       frameworks/opt/net/ethernet
                                       frameworks/opt/telephony
                                       frameworks/webview
                                       hardware/broadcom/libbt
                                       hardware/broadcom/wlan
                                       hardware/libhardware
                                       hardware/libhardware_legacy
                                       hardware/qcom/wlan
                                       hardware/ril
                                       libcore
                                       packages/apps/Browser
                                       packages/apps/Camera2
                                       packages/apps/zengjfClock
                                       packages/apps/Email
                                       packages/apps/Gallery
                                       packages/apps/Gallery2
                                       packages/apps/Launcher2
                                       packages/apps/LegacyCamera
                                       packages/apps/Settings
                                       packages/apps/SoundRecorder
                                       packages/wallpapers/MusicVisualization
                                       system/core
                                       system/extras
                                       system/netd
                                       system/vold
    zengjf@zengjf:~/myandroid$ 

 

Android repo 学习参考

标签:order   tinyalsa   gac   原版   http   eth   多版本   ade   山村   

原文地址:http://www.cnblogs.com/zengjfgit/p/6369906.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!