In this video I will show you how to setup and use realtime debugging using ADB LogCat to debug your Android apps that are#MadeWithUnity
Please let me know if you have any questions! Enjoy!
Enable USB Debugging on your Android Phone:
1. Open the Settings App on your phone and go to « About Phone »
2. Scroll to the bottom and tap on « Build Number » a few times until it says « Developer options enabled. »
3. Go to the developer option in the settings app – typically under System – Advanced
4. Scroll to USB Debugging and turn the switch to « ON »
Add Android Platform Tools to your system path:
1. Open your Android SDK folder in the file explorer then open the platform tools folder. (You should see a program labeled adb.exe)
2. Click in the Address Bar in the top of your file explorer and copy the file path using Ctrl + C. Your path should look something like this: D:AndroidSDKplatform-tools
3. Open Control Panel then go to « System »
4. In the left panel of the System screen click on « Advanced System Settings »
5. In the window that pops up, click on « Environment Variables… »
6. Double click on the « Path » variable
7. Click « New » then paste the file path into the bottom of the list.
8. Press « OK » to close all windows and confirm changes.
0:00 – Intro/Project overview
2:22 – Creating a build of our app
2:59 – Running App on device and debugging with ADB LogCat on CMD line
5:22 – Using the LogCat monitor GUI for debugging
8:39 – Outro
Please ‘Like’ this video and share it with anyone who is interested in video game development.
Subscribe to the channel for much more independent video game developer related content including tutorials, design breakdowns, industry events, VLOGs, and much more fun stuff!
Links:
My Game Development Studio’s Website:
https://homecookedgames.com
My GitHub:
https://github.com/JohnnyTurbo
GDC Channel:
https://www.youtube.com/channel/UC0JB7TSe49lg56u6qH8y_MQ
Music by: Joakim Karud http://youtube.com/joakimkarud
#GameDevTutorial #Unity3D
Source