aosp 怎么切换分支? To properly switch Android version, all you need to change is branch for your manifest repository. First determine the available branches with manifests for the different Android versions: cd $ANDROID_ROOT cd .repo/manifests git branch -