I am developing Android
application on macOS
and my application runs well on the emulator. I want to run it on the device, but when I run adb dev
make sure you have same / higher API level installed on SDK packages with your devices.
example :
I have Android 2.3.4 on my Xperia Play. ADB wouldn't detect my device if theres only API 10 (Android 2.3.3) installed on my Mac. When i installed SDK 11 (Android 3.0) -- since I didn't found any SDK package for 2.3.4, the ADB working fine.
hope this help you.
restart the adb server works for me, in emulator, vmwware and virtual
adb kill-server
adb start-server
if you´re using a virtual machine, make sure you have an IP assigned with:
Alt + 1
type: netcfg
to go back:
Alt + 7
if you have:
eth0: DOWN 0.0.0.0/XX
change your configuration to:
NAT or BRIDGE
Restart the virtual machine and server, and tried again.
if you´re using a phone or tablet:
unplug your device
wait a moment and plug it again
and restart the adb server
Hope this help you
I was having this problem. It turns out my fix was to change the USB cable I was connecting with. I switched back to using the cable that came with the phone and it worked.
Using Samsung Galaxy Player and Samsung micro USB.
Yes. This is incredibly dumb.
I had Xamarin installed and tried to use Unity. Basically in any case you have to kill any application that might be talking to your device through ADB