Jean-Baptiste Queru | 4c07af9 | 2011-06-22 16:41:01 -0700 | [diff] [blame] | 1 | <!-- |
| 2 | Copyright 2010 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | # Known Issues # |
| 18 | |
| 19 | Even with our best care, small problems sometimes slip in. This page keeps |
| 20 | track of the known issues around using the Android source code. |
| 21 | |
Jean-Baptiste Queru | df3931c | 2012-01-11 14:33:17 -0800 | [diff] [blame^] | 22 | ## Can't upload with repo upload ## |
| 23 | |
| 24 | **Symptom**: Trying to upload to Gerrit with `repo upload` results in an |
| 25 | error `SSH disabled` |
| 26 | |
| 27 | **Cause**: `repo` currently assumes that uploads to Gerrit happen over |
| 28 | SSH, but the AOSP Gerrit only supports HTTPS. A fix is in the works. |
| 29 | |
| 30 | **Fix**: Manually push the change to Gerrit with the following command. |
| 31 | Note that this doesn't provide the same level of support as `repo upload`, |
| 32 | e.g. it doesn't have any confirmation, doesn' thave any sanity-check about |
| 33 | unsubmitted changes, and doesn't keep track of what has been uploaded and |
| 34 | what hasn't. |
| 35 | |
| 36 | $ repo forall . -c 'git push https://android-review.googlesource.com/p/$REPO_PROJECT HEAD:refs/for/master' |
| 37 | |
| 38 | The following lists what would be uploaded, before doing the upload: |
| 39 | |
| 40 | $ git log aosp/master.. |
| 41 | |
Jean-Baptiste Queru | dc6e9ca | 2012-01-05 08:06:08 -0800 | [diff] [blame] | 42 | ## Missing CTS Native XML Generator ## |
| 43 | |
| 44 | **Symptom**: On some builds of IceCreamSandwich and later, the following |
| 45 | warning is printed early during the build: |
| 46 | `/bin/bash: line 0: cd: cts/tools/cts-native-xml-generator/src/res: No |
| 47 | such file or directory` |
| 48 | |
| 49 | **Cause**: Some makefile references that path, which doesn't exist. |
| 50 | |
| 51 | **Fix**: None. This is a harmless warning. |
| 52 | |
Jean-Baptiste Queru | 4c07af9 | 2011-06-22 16:41:01 -0700 | [diff] [blame] | 53 | ## Black Gingerbread Emulator ## |
| 54 | |
| 55 | **Symptom**: The emulator built directly from the gingerbread branch |
| 56 | doesn't start and stays stuck on a black screen. |
| 57 | |
| 58 | **Cause**: The gingerbread branch uses version R7 of the emulator, |
| 59 | which doesn't have all the features necessary to run recent versions |
| 60 | of gingerbread. |
| 61 | |
| 62 | **Fix**: Use version R12 of the emulator, and a newer kernel that matches |
| 63 | those tools. No need to do a clean build. |
| 64 | |
| 65 | $ repo forall external/qemu -c git checkout aosp/tools_r12 |
| 66 | $ make |
| 67 | $ emulator -kernel prebuilt/android-arm/kernel/kernel-qemu-armv7 |