Android repo 学习参考
Posted zengjf
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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 学习参考的主要内容,如果未能解决你的问题,请参考以下文章
ubuntu16.04 yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have.(代码片段