Even with our best care, small problems sometimes slip in. This page keeps track of the known issues around using the Android source code.
Symptom: Trying to upload to Gerrit with repo upload
results in an error SSH disabled
Cause: repo
currently assumes that uploads to Gerrit happen over SSH, but the AOSP Gerrit only supports HTTPS. A fix is in the works.
Fix: Manually push the change to Gerrit with the following command. Note that this doesn't provide the same level of support as repo upload
, e.g. it doesn't have any confirmation, doesn' thave any sanity-check about unsubmitted changes, and doesn't keep track of what has been uploaded and what hasn't.
$ repo forall . -c 'git push https://android-review.googlesource.com/p/$REPO_PROJECT HEAD:refs/for/master'
The following lists what would be uploaded, before doing the upload:
$ git log aosp/master..
Symptom: On some builds of IceCreamSandwich and later, the following warning is printed early during the build: /bin/bash: line 0: cd: cts/tools/cts-native-xml-generator/src/res: No such file or directory
Cause: Some makefile references that path, which doesn't exist.
Fix: None. This is a harmless warning.
Symptom: The emulator built directly from the gingerbread branch doesn't start and stays stuck on a black screen.
Cause: The gingerbread branch uses version R7 of the emulator, which doesn't have all the features necessary to run recent versions of gingerbread.
Fix: Use version R12 of the emulator, and a newer kernel that matches those tools. No need to do a clean build.
$ repo forall external/qemu -c git checkout aosp/tools_r12 $ make $ emulator -kernel prebuilt/android-arm/kernel/kernel-qemu-armv7