diff --git a/docs/html/resources/faq/troubleshooting.jd b/docs/html/resources/faq/troubleshooting.jd index 0cf1ab006d1e9..f3252b055b854 100644 --- a/docs/html/resources/faq/troubleshooting.jd +++ b/docs/html/resources/faq/troubleshooting.jd @@ -22,7 +22,10 @@ parent.link=index.html
For more information about adb, see the Android Debug Bridge documentation.
+This is similar to the ApiDemos problem described above, except that +you cannot fix it by uninstalling GestureBuilder from the emulator. The +GestureBuilder app cannot be uninstalled because it is currently installed +within the system files themselves.
+ +Symptoms
+ +You cannot run GestureBuilder in the emulator:
+ +[2009-12-10 14:57:19 - GestureBuilderActivity]Re-installation failed due to different application signatures. +[2009-12-10 14:57:19 - GestureBuilderActivity]You must perform a full uninstall of the application. WARNING: This will remove the application data! +[2009-12-10 14:57:19 - GestureBuilderActivity]Please execute 'adb uninstall com.android.gesture.builder' in a shell.+
Running adb uninstall com.android.gesture.builder fails:
$ adb uninstall com.android.gesture.builder + Failure+
For now, the work-around is to change the sample's package name +so that the system can install it as a new app rather than as a +replacement for the existing GestureBuilder app. To change the +package name, open the manifest file and modify the package attribute +of the manifest element. Next, update imports and other references to +the package name, rebuild the app, and run it in an AVD.
+ +For example, here's how you could do this in Eclipse:
+ +src/com.android.gesture.builder).com.android.gestureNEW.builder. <manifest>
+tag, change the package name to
+com.android.gestureNEW.builder.If you get an error message such as "Could not load /sdcard/gestures.
+Make sure you have a mounted SD card," be sure that your target AVD has an
+SD card. To create an AVD that has an SD card, use the
+-c
+option in the android create avd command.
For general information about signing Android applications, see Signing Your Applications.
+When you try to open an application's manifest file from within +Eclipse, you might get an error such as this one:
+An error has occurred. See error log for more details. +org.eclipse.wst.sse.ui.StructuredTextEditor.isBlockSelectionModeEnabled()Z+ +
Try reverting to the 3.0 version of the Eclipse XML Editors and +Tools. If this does not work, remove the 3.1 version of the tool. To do +this in Eclipse 3.4:
+ +When you restart Eclipse, you should be able to view the manifest +files.
\ No newline at end of file