USB Debugging not working, tried everything - android

I know this is kind of obsolete, but I can't get it to work. I have Android 4.2.2 and Windows 8.1. When I plug it in USB debugging mode the command: adb devices there is an empty list. I tried:
installing "ADB, Fastboot and Drivers"
unlocking Developer Options in Android
adb kill-server / adb start-server
changing USB port
restarting Windows and Android
deleting "C:\Users\****\.android\" contents
Nothing works. Please help!
Thanks in advance,
Adi.

Probably you should install Google USB and Web Drivers in SDK Manager:
Also maybe you should try to install Samsung Android USB Driver.
See also http://www.itjungles.com/samsung-galaxy-s-ii-how-to-enable-usb-debugging.html and Android:use debugmode in galaxy s2 (maybe install Samsung Kies).

Related

"No Connected Devices", trying to connect my LG to my Ubuntu machine

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.

Android Studio can't find device

I am using Android Studio for Windows but it doesn't show any list of devices in the "choose a running device" option. In a Command Tool, adb devices also shows nothing.
Things I have tried:
I have tried this with 2 devices, an Xperia Sola as well as a Lenovo tablet, with the same results.
I have enabled USB Debugging via Developer's Options on each device.
I have tried adb kill-server followed by adb start-server, and adb devices still shows nothing. However, I can see the device in Windows File Explorer.
I checked that the driver is up-to-date.
Can anyone help solve this problem?
I had the same problem. So here is what i did
reinstalled the device driver
changed the USB computer connection from MTP to Mass storage(UMS)
And it worked.
check out this thread Android Studio doesn't recognize my device

How do I run an Android app on my device?

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.

Samsung S2, Android on MacOSX

This has been asked a lot. I can't get my device running with ADB on MacOSX. I know this is a software problem, because I can connect via the Samsung application Kies.
see
1) adb not finding my device / phone (MacOS X)
2) Android device is not recognized in adb
3) Why won't Eclipse/adb detect my Samsung Galaxy Tab device on my Mac?
Possible solutions of which none worked for me.
start-server , kill-server
USB-Debugging on?
Add vendor ID to ./android/adb_usb.ini
usb cable defect?
add sdk path
sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext (?)
Connect your device via USB hub instead of directly connecting to one of the usb ports on MAC.
details
OSX 10.8.0,
Eclipse Juno (4.2.1),
Android 4.0.3,
apropriate SDK #15
Edit: Tried on Windows 7 also. Update firmware. Nothing working.
So finally I got it. I thought I was in debugging mode, because Android has this weird greyed out checkbox. I could activate USB testing mode, and now it is working.

Adb can't find my device

I was developing an android application from Eclipse, connecting my Acer ICONIATAB A 500, with Android 3.0.1. And I did not have any problem.
Now I'm trying to developing the same application on Acer ICONIATAB A 501, with Android 3.2
and my ADB can't find the new device, while Windows can find it! I set in my tablet Debug USB option active, and I installed the appropriate driver on Windows.
I installed even the last Google USB driver (Rev. 7)
I tried to list the device find form adb with command
adb devices
from command line, but List of devices attached is empty.
What can i do?
execute these line
adb kill-server
adb start-server
if it is mobile device check that in settings, developers options , debugging mode is checked or not
You need to install LGUnitedMobileDriver package from the LG website, even though Windows 7 automatically installed USB drivers for the phone.
Try to update your Android-SDK on your computer (in Eclipse or whatever IDE you are using), this helped me solve a similar Problem.

Categories

Resources