You may need to get to the android studio library if so cd Library/Android/sdk/platform-tools/
To actally conect make sure you have the cable plugged in first
adb devices - to get the list of connected devices including the one you are connecting to
the result
List of devices attached
XXXXXXXXX device
adb tcpip 4444 you can use any number - but this is 4444 is safe - it needs to be a port not in use.
restarting in TCP mode port: 4444
adb connect 192.168.0.155:4444 - make sure you seecify the IP address of the phone - to get the IP address of the phone go to settings WIFI and select the connected WIFI - it will show the IP address
You may need to get to the android studio library if so cd Library/Android/sdk/platform-tools/
To actally conect make sure you have the cable plugged in first adb devices - to get the list of connected devices including the one you are connecting to the result List of devices attached XXXXXXXXX device
adb tcpip 4444 you can use any number - but this is 4444 is safe - it needs to be a port not in use. restarting in TCP mode port: 4444
adb connect 192.168.0.155:4444 - make sure you seecify the IP address of the phone - to get the IP address of the phone go to settings WIFI and select the connected WIFI - it will show the IP address
Now you can download via wifi in android studio.