How to connect the device to Eclipse?

前端 未结 13 1790
予麋鹿
予麋鹿 2020-12-01 17:15

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

相关标签:
13条回答
  • 2020-12-01 18:04

    I think your emulator is in Automatic. You can change that to Manual.

    Try this,

    Step 1

    Go to Run Configuration

    enter image description here

    You can see three Columns Android,Target and Common.

    enter image description here

    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. enter image description here

    Hope it helps.

    0 讨论(0)
  • 2020-12-01 18:07

    Goto -> Setting -> Application -> Development -> USB Debugging

    Enable it and try.

    0 讨论(0)
  • 2020-12-01 18:10

    Try right clicking the project -->Run As --> Run Configurations then select target and choose always prompt On your device turn on debug mode Now try running project

    0 讨论(0)
  • 2020-12-01 18:11

    If you have required options enabled on your phone (USB Debugging and Unknown Sources) you can try do this. On your computer open command console. Using cd navigate to your android sdk installation folder. Go to platform-tools. You should have there adb file. Run this

    ./adb kill-server
    

    and then

    ./adb start-server
    

    Then check plugged devices

    ./adb devices
    
    0 讨论(0)
  • 2020-12-01 18:11

    I am assuming you don't mean connecting the device with the emulator but connecting the device to your computer so you can debug it and run applications directly from Eclipse to the device. In which case KIES by Samsung will not help you at all. What you need is the Android USB Drivers provided in the Extras tab in SDK. Sometimes the installation will bug up because you didn't run SDK manager as an administrator so make sure you do that. When all of this is done make sure your device is unconnected to your computer and then reconnect it after the drivers are installed. You should be prompted with a new device installation wizard which you must accept. Additionally, you should have debugging enabled on your device, and as an extra step you can setup launching as a manual configuration but it is not needed.

    To enable device debugging

    Settings -> Developer Options -> USB Debugging.
    

    For more information visit here

    BTW : If the Google USB Drivers don't work you might need to install the specific Samsung drivers which are located here

    0 讨论(0)
  • 2020-12-01 18:12

    Have you enabled USB debugging in your device?? You can find it in your device

    Settings -> Developer Options -> USB Debugging.
    
    0 讨论(0)
提交回复
热议问题