I am not able to resolve this simple issue.
I am trying to connect my device to Eclipse via USB cable.
On my PC, I have installed Eclipse and the Android SDK and running the program on the emulator is working fine.
I have downloaded and installed Samsung Kies on my PC. It shows my device if connected via USB to the PC.
But I dont know how to connect the device with the emulator.
Connect means, I want to run the Eclipse code on my device instead of emulator. I am using Samsung Galaxy Ace GT-S5830i
. Please help me out to resolve this issue.
Eclipse Mobile may be used on either Apple or Android smart phones or tablets.
Put a breakpoint on the line you want to start debugging from, then Run the Application in Debug mode, the app will hit the breakpoint and then you can go through it just like in VS. Show activity on this post. Run >> Debug Configurations... Click "Debug" to take the defaults.
Comment is lack of formatting so i add an answer.
Check if your computer had your phone driver. I assume that your use Windows
. Open Device Manager
At a command prompt, in the Start Search box, or in the Run box, type the following command: mmc devmgmt.msc
. Other ways : check link
If you find your phone name or ADB Interface
so you got driver. Try to restart DDMS
or restart your Eclipse
.
If you don't find your device or see something Other device with yellow question mark
so try to install driver by browsing on your phone to Settings
- Developer Options
- Enable developer option
- Enable USB debugging
- Plug your phone to computer
. Windows will ask you to install driver.
3, Update Google USB driver in Android SDK Manager (in Eclipse) or search Samsung Galaxy Ace GT-S5830i driver
4.Some weird case i got on some device.
Eclipse
.Connectivity Option
on phone to Charge only
(Swipe status bar. Check notifications displayed). Some phone set it to some kind of Sync data so Windows can not recognize device.I think your emulator is in Automatic. You can change that to Manual.
Try this,
Step 1
Go to Run Configuration
You can see three Columns Android,Target and Common.
Step2
Select the Target
Step 3
Choose Always prompt to pick device.Click Ok
Step 4
Now run your project you should see the emulator and your device. Select your device and click ok.
Hope it helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With