Re: [android-developers] Re: Debugging on a real device
Hi, Please make sure that you you enable debug able true. You can find it under the follwowing head. Mainfest/application/true I hope so it will work. Regards, Irfan On Fri, Sep 17, 2010 at 8:03 AM, KANTESH BABANNAVAR kantesh...@gmail.comwrote: u can try ./adb kill-server after that ./adb start-server. Make sure that u have ebabled the USB Debugging in settings- applications-Development. On Sep 17, 10:27 am, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows). I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
u can try ./adb kill-server after that ./adb start-server. Make sure that u have ebabled the USB Debugging in settings- applications-Development. On Sep 17, 10:27 am, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows). I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
Run the adb command, to see if your adb sees your device. adb devices -Kumar Bibek http://techdroid.kbeanie.com On Sep 17, 11:03 am, KANTESH BABANNAVAR kantesh...@gmail.com wrote: u can try ./adb kill-server after that ./adb start-server. Make sure that u have ebabled the USB Debugging in settings- applications-Development. On Sep 17, 10:27 am, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows). I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
I think you're looking for the 'Run Configuration...' option under 'Run Application', then uncheck any avd that is checked and press 'apply' button. If your phone has USB Debugging on, and is connected to your PC, then eclipse should run the application on your device rather than the emulator. On Sep 17, 3:27 pm, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows). I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
Goto the RUN menu in Eclipse, and choose:- Run Configurations. Then On the Target (TAB) - choose:- Deployment Target Selection Mode - Manual. If that does'nt work - then Eclipse is not recognising that you have an Android attached. Regards J.C. On Sep 17, 6:27 am, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows). I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
John, Don't fret this is a very common issue using Motrola's droid USB driver under Windows. It doesn't seem there are any plans to fix it. In this thread I step someone through manually helping Windows along. It suspect it will get you up and running. http://groups.google.com/group/android-developers/browse_thread/thread/3571170253b99d0/92c8a626e08e2574?lnk=gstq=authorwjf#92c8a626e08e2574 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
That was the ticket, thanks. John Gaby On Sep 17, 1:20 am, Jez jeremy.a.co...@baesystems.com wrote: Goto the RUN menu in Eclipse, and choose:- Run Configurations. Then On the Target (TAB) - choose:- Deployment Target Selection Mode - Manual. If that does'nt work - then Eclipse is not recognising that you have an Android attached. Regards J.C. On Sep 17, 6:27 am, John Gaby jg...@gabysoft.com wrote: I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows). I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is. Any help would be appreciated. Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Debugging on a real device
Have you switched on USB debugging in the settings on the phone? -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en