The Daily Shaarli

All links of one day in a single page.

January 3, 2018

~Debug your Android apps/games with Unity / Visual Studio~
Be sure to have the USB Debug mode On and that your phone has accepted your PC as such (popup alert on your phone when being plugged). (You can enable USB Debug after you enable the Android Developer mode - Google it)

1) Locate your adb location

To do that, check if it is in the path by typing `adb` in a terminal. If it isn't, run the following command:
setx PATH "%PATH%;<your sdk path>/platform-tools"

(To find your SDK path, open Android Studio > Configure > SDK Manager )
(or Unity > Preferences > External tools)

2) adb tcpip 5555

3) adb connect 192.168.xx.xx

4) adb devices

(You could now safely unplug your USB and "build and run" over Wifi)


---------

adb -s 192.168.xx.xx shell
then `input text "Hello"`