Samsung S2, Android on MacOSX - android

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.

Related

USB Debugging not working, tried everything

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).

Android Studio 3.5.2 can't find USB connected device (but found through adb terminal)

The title pretty much says it all: I'm working on an Android Studio (3.5.2) project on my Windows 7 64-bit running laptop, I connect my Samsung J7 (2016) to the laptop through the original Samsung cable but Android Studio simply can't see the device. If I try to do the same on my desktop computer (same Android Studio version but on a Windows 10 64-bit OS) everything works just fine.
Here comes the funny thing: the "adb devices" command shows the device (and I'm 100% sure it's my smartphone since it's the only device connected). The Android Studio toolbar keeps showing "No devices" anyway.
I've spent 3 hours on this and couldn't find a solution. I already tried every suggested solution around the web (stackoverflow.com included), but I achieved nothing:
Disabling/Enabling USB Debug function in the Developer Settings of my smartphone (including revoking USB debugging authorizations)
Running Android Studio as admin (sometimes it solves strange stuff...)
Trying to USB connect through PdaNet+
Android Studio built-in troubleshooting service (re-scanning for devices actually makes me see my smartphone but it's treating it as if it can't be used as a debugging device; anyway the smartphone-computer connection is just fine: I can browse my files and all. Killing and restarting the ADB server does nothing)
Tried connecting both as PTP and MTP
Tried both the Google USB Drivers and the Windows Update drivers (those the computer gets when you first connect the device)
Thanks in advance :)
if you use linux as your PC OS. may be try to install adb will help you..
apt-get install adb
that's work for me.

"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

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