Android Tutorial

(avery) #1

By : Ketan Bhimani


76 

You can also modify the application element of the
AndroidManifest.xml file directly with the attribute, as shown here:

android:debuggable <application ... android:debuggable=”true”>

If you forget to set the debuggable attribute to true, the handset
shows the dialog for waiting for the debugger to connect until you
choose Force Close and update the manifest file.

Now, connect an Android device to your computer via USB and re-
launch the Run Configuration or Debug Configuration of the
application. Because you chose Manual mode for the configuration,
you should now see a real Android device listed as an option in the
Android Device Chooser.

Android Device Chooser with USB-connected Android handset.
Free download pdf