Is there something special I have to do to get adb to recognize my phone and tablet?
I turned on developer mode, but when I do "adb devices" I still only get the emulator or nothing at all if there's no emulator running.
Thanks!
In case you are working under Windows, try to install Samsung USB Driver for Windows .. it should be enough ;-)
I Google'd a bit more and found that if you install Samsung Kies then adb starts recognizing Samsung products. =]
Related
I am trying to run an app that I have built on my phone. I have enabled USB-debugging mode on my LG G3, but my Linux Machine and Android Studio is saying that there are no connected devices.
How do I fix this? Have I forgotten something important?
I had the same connection problem.
Switching to "Send Images (PTP)" solved it for me.
I had similar problem with my Xperia S.
1) I installed android adb tools on Ubuntu. (Using: sudo apt-get install android-tools-adb android-tools-fastboot)
2) Selected MTP mode on my Xperia S. Disabled debugging. Disconnected the phone from system.
3) Enabled USB debugging, connected the phone again and tried the command "adb devices" from ubuntu terminal.
It then started the adb daemon and listed my device.
Once the device was listed there, I started the android studio again, and my phone was listed there.
Also, you might find this helpful : https://developer.android.com/tools/device.html
Hope it helps..
CD to your sdk platform-tools folder
Check if adb sees your device
./adb devices
If it displays 'List of devices attached' and a blank line below, then restart adb as follows:
./adb kill-server ./adb start-server
then re-run ./adb devices and see if it picks up the device, eg as follows:
List of devices attached xxxxxxxxxxx
There is a well-written and detailed step-by-step guide for connecting a phone with Android Studio when running Linux here:
http://esausilva.com/2010/05/13/setting-up-adbusb-drivers-for-android-devices-in-linux-ubuntu/
Changing in the USB Options on the phone to "Send Images (PTP)" worked to me as well (on a LG phone). Must be something with LG phones, because with other Android phones this wasn't needed.
After taking a few hours, I just solved a similar problem minutes ago with LG G3 on WINDOWS.
Maybe my experience can help you.
Firstly, do NOT enable USB debugging.
Secondly, install the OFFICIAL USB driver from LG (I have no idea whether this is available on Ubuntu). Please make sure the driver works normally by some LG software. BTW, I don't think LG is good at software.
Thirdly, enable USB debugging and go.
RTFM is the most natural reply but I have tried that and it did not work.
This is what I have done so far:
1. Install all the necessary USB drivers from the vendor's site. The USB device is properly installed.
2. Add android:debuggable="true" to my manifest
3. Tried adb devices in command prompt and it shows the device as connected
4. Enabled USB debugging via Developer Settings
Still, my phone is not detected in Eclipse
What is going wrong ?
I am using Windows 7 32 bit and trying to connect a Samsung Galaxy S3 (GT-I9300) with the latest firmware :)
I have same issue with my Galaxy S3 (GT-I9300). I solved this issue after "Factory Data Reset". Now when i connect my phone with USB ,Eclipse shows my device perfectly.
Hope its helpful to you...
My friend had similar problem, solution was restarting adb server. Try running:
adb kill-server
adb start-server
from command line.
You could try Run-> Run Configurations-> Target in eclipse and change it to always prompt to pick device. This worked for me in the past.
I think this is due to the driver problem. Just install the drivers properly and try reconnecting it.
this is a driver for S5830 similarly you should install drivers for your device
Download Samsung Kies mini And Than Try To Connect Your Device.
Install the software Moborobo
and then
Try Run-> Run Configurations-> Target in eclipse and change it to always prompt to pick device.
everyone, I would like to connect my galaxy nexus to the eclipse, which allows me to use the real device for debugging my program, however, my galaxy nexus does not appear even I have clicked on the usb debugging option in the developer mode. Can anyone give a hand to me, thank you!
Which operating system are you using?
If on Windows:
Have you installed the ADB and FastBoot? Does your device show up if you do adb devices?
If not, follow the instructions here or here.
Reconnection your device, open a console window and type: adb devices. If your device is listed in the output, Eclipse will also pick it up.
For Samsung provided firmware and drivers, check here.
If on Linux:
Follow this tutorial. You don't necessarily have to unlock the bootloader. As long as your device shows up in adb devices after adding the device identification lines in udev, followed by a udev restart with sudo service udev restart, all should be good.
Here is another tutorial that claims to install ADB automatically on both Windows, Linux and Mac. I haven't tried it myself. So it might be a good idea to peep inside the Knives-&-Forks scripts before executing them.
Make sure the USB driver is installed. Instructions can be found here.
You need to install the Galaxy Nexus driver from Samsung
Galaxy Nexus USB Driver
I use two devices to develop my Android apps:
a Samsung tablet Galaxy tab 10.1 (Android 3.1)
a Samsung S2 (Android 4.0.3)
I develop on Mac OSX Lion.
My problem is that my Samusung S2 is not recognized by Eclipse (everything is ok with my tablet!!). To be more accurate, my S2 appears something like 1 second every 1 minute in DDMS or the "Android Device Chooser" (the window which appears when you launch the app in Eclipse and where you can choose between a physical device or emulator) and then disappears !!! This is driving me crazy.
I tried absolutely everything I found on forums:
update all modules via the SDK Manager
update of Eclipse via Help => check for updates
tried 3 different USB cables...
tried to reset adb either via DDMS or in command line (adb kill-server and then adb start-server)
I checked that USB debugging is set on my S2
Can the rubbish Samsung app "Kies" induce some issues? (not the case with my tablet) Other idea?
Can anybody help me ???!!!
Thanks !!
Finally, I had a physical problem with the micro-USB connection on my Samsung S2... I returned it to Samsung and they repaired it ! it seems that the micro-USB connection on S2 are very fragile...especially when you connect/disconnect very often your device !! Hope this helps...
Use Kies to force a reinstall of the drivers.
In Kies (Version 2.3.2.12054_20):
Tools > Troubleshoot connection error.
Follow the wizard (there is a "Reinstall device driver" stage).
I don't have a special confidence this will fix your problem. I offer it as something to try.
I have tried installing the Samsung Captivate Drivers, but ADB does not see them. I have got the google adb drivers in sdk directory but everytime i try to install this driver it says that Windows think I have the best driver for the device. It keeps the MTB driver. I have tried uninstalling but MTB driver keeps coming back. I am trying to get the debug bridge to work to a Samsung Captivate. adb devices shows nothing.
try to use Samsung Kies. It has samsung drivers with in.
you can find it here :
http://www.samsung.com/uk/support/main/supportMain.do
works fine for me with the Samsung i5700 on Win7 x64
Installing Samsung New PC Studio worked for my Samsung Fascinate. You get a bit more than just drivers, but it worked.
It is just a matter of installing the Samsung Captivate Drivers. (Some people have to reinstall them several times) and then just making sure that USB is definitely set for debugging. This should work. The Android application itself needs also to be enabled for debugging android:debuggable="true" in the Android-Manifest. This is what it needs. Note this is how to get ADB working so that if you type adb devices you will see the Samsung device. Kies is an option for file sharing.