How to sync just android 2.2 froyo code?

房东的猫 提交于 2019-12-01 05:15:28

问题


repo init -u https://android.googlesource.com/platform/manifest -b froyo
error: revision froyo in manifests not found

Latest version 2.3 required 64 bit machine to build,How to get just froyo code?


回答1:


Here is an explanation of what is happening to the froyo branch and how to workaround the problem:

https://groups.google.com/group/android-building/browse_thread/thread/d6c505873a8680a7

If you want to look for the appropriate tag to check out exact code branch, try this:

https://android.googlesource.com/platform/build/+refs

So looking at the list, the branch that you should try would be: android-2.2.2_r1




回答2:


This one worked for me.

repo init -u https://android.googlesource.com/platform/manifest -b android-2.2_r1.1

I guess r1.1 is the release branch. can someone affirm this?




回答3:


Try this: repo init -u https://android.googlesource.com/platform/repo -b froyo



来源:https://stackoverflow.com/questions/4849700/how-to-sync-just-android-2-2-froyo-code

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