blob: e7274310b43d0d4d4c27f98693e4c8379e06f3a6 [file] [log] [blame] [view]
Jean-Baptiste Queru4c07af92011-06-22 16:41:01 -07001<!--
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
19Even with our best care, small problems sometimes slip in. This page keeps
20track of the known issues around using the Android source code.
21
Jean-Baptiste Querudf3931c2012-01-11 14:33:17 -080022## Can't upload with repo upload ##
23
24**Symptom**: Trying to upload to Gerrit with `repo upload` results in an
25error `SSH disabled`
26
27**Cause**: `repo` currently assumes that uploads to Gerrit happen over
28SSH, 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.
31Note that this doesn't provide the same level of support as `repo upload`,
32e.g. it doesn't have any confirmation, doesn' thave any sanity-check about
33unsubmitted changes, and doesn't keep track of what has been uploaded and
34what hasn't.
35
36 $ repo forall . -c 'git push https://android-review.googlesource.com/p/$REPO_PROJECT HEAD:refs/for/master'
37
38The following lists what would be uploaded, before doing the upload:
39
40 $ git log aosp/master..
41
Jean-Baptiste Querudc6e9ca2012-01-05 08:06:08 -080042## Missing CTS Native XML Generator ##
43
44**Symptom**: On some builds of IceCreamSandwich and later, the following
45warning is printed early during the build:
46`/bin/bash: line 0: cd: cts/tools/cts-native-xml-generator/src/res: No
47such 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 Queru4c07af92011-06-22 16:41:01 -070053## Black Gingerbread Emulator ##
54
55**Symptom**: The emulator built directly from the gingerbread branch
56doesn't start and stays stuck on a black screen.
57
58**Cause**: The gingerbread branch uses version R7 of the emulator,
59which doesn't have all the features necessary to run recent versions
60of gingerbread.
61
62**Fix**: Use version R12 of the emulator, and a newer kernel that matches
63those 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