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