Simply deploy and view Unity logs on Android

Having to plug your phone into your computer every time you want to test your game or app on android sucks.

Luckily there is a simple way to do it.

  • Add adb to your path variables.
  • Connect your phone to your computer
  • In terminal run: adb tcpip 5555
  • Disconnect phone
  • Find phones IP address: Settings > About phone > Status
  • In terminal run: adb connect IP_ADDRESS
  • Confirm connection in terminal with:  adb devices

Boom. Device connected. Now in Unity when you hit Build & Run it will deploy right to device.

“But what about logs?” you may ask. In terminal run adb logcat -s "Unity".

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.