将相本无种,男儿当自强。这篇文章主要讲述Android repo 学习参考相关的知识,希望能为你提供帮助。
/*************************************************************************** *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分支: [email protected]:~/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分支情况: [email protected]:~/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 [email protected]:~/myandroid$
【Android repo 学习参考】
推荐阅读
- Android系统启动概要
- 多进程通讯笔记 android aidl
- Android 网络连接状态的监控
- 关于iphone点击事件无效,安卓没问题
- AndroidStudio使用偷懒插件Butterknife和GsonFormat
- (Android数据传递)Service和Activity之间-- 借助BroadcastReceiver--的数据传递
- Android开发(《Gradle Recipes for Android》阅读笔记(翻译)2.4——更新新版本的Gradle)
- (文件操作)Android相关的File文件操作
- Android面试套路题越来越深入