1. 下载源码
https://github.com/Evervolv/android 查看readme
2. 下载完成后,git 对应项目到对应的目录。
Adding dependencies to manifest
Adding dependency:android_device_htc_bravo.git -> Device/htc/bravo
Adding dependency: android_kernel_htc_qsd8k -> kernel/htc/qsd8k
Adding dependency: android_device_htc_qsd8k-common -> device/htc/qsd8k-common
Adding dependency: android_vendor_htc -> vendor/htc
for example:
<!--Evervolv Bravo Projects--> <project path="device/htc/bravo" name="android_device_htc_bravo" remote="github" revision="jellybean"/> <project path="kernel/htc/qsd8k" name="android_kernel_htc_qsd8k" remote="github" revision="jellybean"/> <project path="device/htc/qsd8k-common" name="android_device_htc_qsd8k-common" remote="github" revision="jellybean"/> <project path="vendor/htc" name="android_vendor_htc" remote="github" revision="jellybean"/>
Syncing dependencies
同步时需要注意,选择对应的branch 。 如果你的源码是 jellybean, 这4个对应git也应该选择jellybean.
3.