development
Revisión | a467ad214adf0cdd9ac351acb7de473fe01d3976 (tree) |
---|---|
Tiempo | 2011-01-15 14:29:17 |
Autor | Elliott Hughes <enh@goog...> |
Commiter | Android Git Automerger |
am 47081d8f: am ed6b76c6: Merge "Minor doc fixes (mainly the infamous "repo init-u")." into gingerbread
* commit '47081d8f5878ca5e2ee6c52a92401498a72323f4':
@@ -137,13 +137,7 @@ spinlock because no other thread can release it. | ||
137 | 137 | (gdb) set scheduler-locking on |
138 | 138 | </pre> |
139 | 139 | |
140 | -<p> | |
141 | -Ignore SIGUSR1 if you're using JamVM. Shouldn't hurt if you're not. | |
142 | -</p> | |
143 | - | |
144 | 140 | <pre class="prettify"> |
145 | -(gdb) handle SIGUSR1 noprint | |
146 | - | |
147 | 141 | (gdb) where |
148 | 142 | #0 __futex_wait () at system/klibc/android/atomics_arm.S:88 |
149 | 143 | #1 0x53010eb8 in pthread_cond_timedwait (cond=0x12081c, mutex=0x120818, abstime=0xffffffff) |
@@ -239,7 +233,7 @@ Previous frame identical to this frame (corrupt stack?) | ||
239 | 233 | </pre> |
240 | 234 | |
241 | 235 | <a name="Crash_in_C_C_code"></a><h4>Crash in C / C++ code</h4> |
242 | -<p>If it crashes, connect with <code>aproto</code> and run <code>logcat</code> on the device. You should see output like this:</p> | |
236 | +<p>If it crashes, connect with <code>adb</code> and run <code>logcat</code> on the device. You should see output like this:</p> | |
243 | 237 | |
244 | 238 | <pre class="prettify"> |
245 | 239 | I/ActivityManager( 188): Starting activity: Intent { component=com.android.calendar.MonthScreen } |
@@ -35,7 +35,7 @@ Installing Repo <br></h3> | ||
35 | 35 | $ curl http://android.git.kernel.org/repo > ~/bin/repo <div>$ chmod a+x ~/bin/repo</div> |
36 | 36 | $ mkdir <i>working-directory-name</i> |
37 | 37 | <br>$ cd <i>working-directory-name <br></i> |
38 | -$ repo init-u git://android.git.kernel.org/platform/manifest.git <br><br><h3> | |
38 | +$ repo init -u git://android.git.kernel.org/platform/manifest.git <br><br><h3> | |
39 | 39 | Synchronizing your client |
40 | 40 | </h3> |
41 | 41 | To synchronize the files for all available projects:<br>$ repo sync <br><br>To |
@@ -116,7 +116,7 @@ init | ||
116 | 116 | </h3> |
117 | 117 | repo init -u <i>url</i> |
118 | 118 | [<i>options</i> |
119 | -]<br><br><div>Installs Repo in the current directory. This creates a .repo/ directory that contains Git repositories for the Repo source code and the standard Android manifest files. The .repo/ directory also containsmanifest.xml, which is a symlink to the selected manifest in the .repo/manifests/ directory.<br><br>The -u argument specifies a URL from which to retrieve a manifest repository. For example:<br>$ repo init -u git://android.git.kernel.org/platform/manifest.git <br><br>To select a manifest file within the repository, use the -m option. (If no manifest name is selected, the default is default.xml.)For example:<br>$ repo init -ugit://android.git.kernel.org/platform/manifest.git-m dalkvik-plus.xml <br><br>To specify a revision, that is, a particular manifest-branch, use the -b option. For example:<br>$ repo init -ugit://android.git.kernel.org/platform/manifest.git-b release-1.0<br><br>To see other repo init options, run <br>$ repo help init <br><br><b>Note:</b> | |
119 | +]<br><br><div>Installs Repo in the current directory. This creates a .repo/ directory that contains Git repositories for the Repo source code and the standard Android manifest files. The .repo/ directory also containsmanifest.xml, which is a symlink to the selected manifest in the .repo/manifests/ directory.<br><br>The -u argument specifies a URL from which to retrieve a manifest repository. For example:<br>$ repo init -u git://android.git.kernel.org/platform/manifest.git <br><br>To select a manifest file within the repository, use the -m option. (If no manifest name is selected, the default is default.xml.)For example:<br>$ repo init -u git://android.git.kernel.org/platform/manifest.git-m dalkvik-plus.xml <br><br>To specify a revision, that is, a particular manifest-branch, use the -b option. For example:<br>$ repo init -u git://android.git.kernel.org/platform/manifest.git-b release-1.0<br><br>To see other repo init options, run <br>$ repo help init <br><br><b>Note:</b> | |
120 | 120 | For all remaining Repo commands, the current working directory must either be the parent directory of .repo/ or a subdirectory of the parent directory.<br><br></div> |
121 | 121 | <h3> |
122 | 122 | sync |