I am using Samsung Galaxy 3. I have turned on the debug option and have connected the phone via usb to ubuntu/windows but the phone is simply not recognized.
It was working perfectly fine i.e. recognized on ubuntu for me to work with Eclipse, until I decided to reboot the phone with usb still connected to the computer.
I have tried rebooting the phone multiple times and everytime, when I plug in the usb, it simply charges and no notification of usb connection ever shows up. What am I doing wrong here? Please help.
try using a different USB cable.
I had a similar issue where my phone had previously connected just fine, but months later it wasn't recognized...
turns out the cable I was using was a "charging only" cable and did not transmit data.
Related
I'm on a MacBook running macOS Sierra and I'm having trouble connecting Android Studio to the phone. The phone is a Samsung Galaxy A3 (2016) running the latest update - Android 6.0.1.
I've tried listing the devices using the command adb devices, but the list is empty.
When I connect the device I can hear a tone and the phone is charging. I do not get a notification when connecting the device, hence trying to tap on the notification and somehow forcing an MTP connection is impossible.
I've already activated the Developer Options and the USB configuration mode is set to MTP (Media Transfer Protocol). When trying to cycle through the available USB modes, if the phone is connected to the computer, it always reverts back to MTP automatically.
Trying to turn off and back on the USB debugging, or the Developer options didn't work. Also restarted both the phone and the computer but nothing changed.
Does anyone have a clue of what is going on?
From my research, the only thing that seems to have worked for other people is to tap the notification that is supposed to appear when I connect the phone to the computer.
Any help would be greatly appreciated. Thanks!
I presume that the cable is broken or just plainly wrong. Changing the cable should help.
I am having a small issue with Android Studio. Whenever I put my phone into either of the front two USB ports, it shows my device as "Offline". If I use any of the back USB ports, it recognises the device perfectly fine.
I can charge and browse my phone fine from the front two USB ports. I have tried resetting ADB, and installing/updating Samsung USB drivers. I have tried enabling and disabling USB debugging - but no luck.
It really can't be an issue with the phone or with Android Studio, as in the back USB ports it works fine - surely it has to be an issue with the front USB port?
Anybody have any ideas on how I could solve this? (Other than just using the back ones!)
I have the same problem. I have 4 USB 3.0 ports on the computer and 2 USB 2.0 on the keyboard. Nexus 5 can be plugged and recognized on all of them while Samsung Galaxy S4 is not recognized on one of the keyboard ports and one of the PC ports. In my case it is the device I guess. You can try with another device to see.
You can try this:
Go to tools/enable adb integration and uncheck it.
now check it and run again. Next time, android studio will restart adb and it may find your device.
I have samsung galaxy note 10.1 and model GT-N8000, I want to connect it to android studio and want to run my own made app. But my android studio not showing anything and even pc do not detect it , not even popping up notification to show me that some thing is connected. I check this device to other computers but got same thing.
So what could be a problem. I have done resetting , but nothing is helpful, Updated driver, installed the google driver for usb, installed the universal driver. But nothing is really helping. So at least pc should detect it but its not.
Any solution. ? Please help
Make sure, that you chose Connect as Camera or PTP on your phone.
Go to developer settings and activate Adb-debugging or USB-debugging.
Also check, whether you have installed the correct drivers. Try to reinstall the correct drivers.
And make sure that neither your USB cable nor your USB-drive is faulty. If so try to use another cable and different usb-drive.
You could also try to connect your phone wirelessly to Android Studio
Couple of things you can try -
Go to settings, developer options and turn USB Debugging on. If it's off, Android Studio will not detect your phone.
If you PC is not detecting your device, either your USB cable is faulty or your USB drive. Only way to know is connect your phone to another USB-Drive or connect it using another cable.
When I run adb devices there are no devices showing as connected. My device is a LG Optimus Exceed 2 running 4.4.2
There are many of these posts around, so here's what I've done:
I'm using the cord that came with the phone. It charges and tries to sync photos, so it isn't an issue here. Switching usb ports and trying a powered usb hub doesn't affect it either.
I've added the vendor id (0x1004) to ~/.android/adb_usb.ini
Restarted and unplugged any combination of things you can think of
USB Debugging is on. And has been restarted. Same with Unknown sources.
I have never used EasyTether, nor is it installed anywhere on my computer.
Updated adb, updated my sdk.
Restarted adb server
Tried installing LG's drivers: http://www.lg.com/us/support-mobile/lg-VS450PP (They say they don't support Mac S/W upgrade, yet they have a package to install. No help there)
I have a Nexus S running 4.1 that works, and an old LG phone running Gingerbread that connect.
Any wizards out there who've already struggled with this who have advice?
I tried all of the connection types (charge, MTP, PTP) but perhaps not "Internet Connnection, modem"? You can change it by pulling down the system-wide drop down menu and touching "USB connection".
This is how I fixed it, but I thought I'd tried this already, so I can't guarantee it wasn't this in conjunction with one of the things done above.
PTP seemed to do the trick. Never had to do that on any other device...
I had the exact same problem. Selectin Internet Connection and then Ethernet as the USB connection type fixed it and everything is working as expected now.
I know this sounds like a stupid answer, but the same thing happened to me. It turns out the micro USB cord was just bad - which is weird, because it still charged the phone perfectly fine. After testing the bad cable unsuccessfully on a phone that had been recognized on my mac before, I switched to a different micro USB cable, and that made all the difference.
This is late in the game but I had an additional step to all the other suggestions. The phone was showing up in the System Profiler after I switched the usb mode to 'MTP' mode, but I didn't see any usb tethering options. After adding the phone's vendor ID to the usb ini file, enabling the developer and usb debugging, killing and restarting adb, I still didn't see my device in adb devices.
I finally had to download the Mac driver for the phone directly from LG.com. After installing and rebooting on the computer, the device showed up in adb devices.
I'm new to android development so apologies if this is a stupid question.
I'm having trouble seeing my android devices in Eclipse. I've switched on USB debugging, configured them to connect as a camera not mass storage, but when I run ./adb devices, there's no device showing, even though I have a Samsung Galaxy and a LG Nexus connected via USB. On both phones I get a notification saying "USB debugging connected" and "connected as a camera" so the phone obviously thinks it's connected.
The problem appears to be intermittent. Sometimes the Galaxy shows up:
Macbook:~/workspace/android-sdks/platform-tools ./adb devices
List of devices attached
3334AB246B5200EC device
Then I unplug and reconnect it, and it disappears.
I've tried 3 cables and 2 devices now. Should I just give up and use an emulator instead?
I had to download the Android File Transfer mac application, and then it worked fine. I also had to use the right USB cord -- some don't have a data channel.
I know your problem is intermittent and as Jim says, restarting Eclipse helps when unplugging the usb and plugging it in again doesn't help. I did however find this extremely helpful detecting a new device: adb not finding my device / phone (MacOS X). Give this a shot for your already discovered devices, to see if that helps.
Sometimes adb fails to recognize devices properly.
Try "adb kill-server" and then "adb devices"