Realtime Debugging for Unity Android Apps - ADB LogCat Tutorial

preview_player
Показать описание
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:
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:\Android\SDK\platform-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:

My GitHub:

GDC Channel:

#GameDevTutorial #Unity3D
Рекомендации по теме
Комментарии
Автор

Time Codes for Quick Reference:
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

TurboMakesGames
Автор

I began watching this channel out of curiosity, for the ECS videos. Now I am consulting this video for a job-related matter. I wanted to say that this is a great project. Thank you, Turbo, sir.

jamememes
Автор

i cannot open the monitor.bat, the error says "Windows cannot find 'lib\monitor-location'. Make sure you typed the name correctly and then try again."

josephjosephBBX
Автор

This was an excellent tutorial. Clear and to the point. Thanks!

akisey
Автор

Nice tutorial man, it scares newbies but after watching 2 3 times i understand it completely. Keep up the good work.

makonline
Автор

I had forgotten how to do this and you really help me saving time, thanks for the tutorial. Greetings!

ElvisHrdz
Автор

You've quickly become my go-to channel for game dev related stuff. You're doing the Lord's work brother, keep it up!

justapolitecommenter
Автор

Thank you so much for this! I will be sure to checkout your ECS tutorials as well. Liked and subscribed :)

PiyPowKachou
Автор

you have such a cool voice for explaining, thank you for doing this

franz
Автор

i am from Iran. Tank you. That is great !

VideoesitorAB
Автор

Works like a charm. Thanks man, very helpful!

zeramino
Автор

Man, this is lit! Thank you very much!

legendguitargamer
Автор

Thank you so much, saved hours of time wasting :)

jasonwolff
Автор

very good tutorial. It helped alot THANKS (y)

javedurrehman
Автор

ehi man! thanks for the vid. I was completely lost on an error before watching this vid.
The error occured only in the android build so I focused to static class which seemed to be the cause.
turned up it was just a deserializzation exception.... CRAZY. lost 2 days understanding deep Singleton & static classes X'D

thanks ~ italian dev

DevilPorkITA
Автор

Gracias a ti encontré que dependencia faltaba en mi proyecto con Firebase! Thanks!

migueldelgado
Автор

Hi my app keep crashing once i open it is there a way to get a error log so I know why it's closing

mrnajel
Автор

Awesome Tutorial, Thanks for the help :-)

taealambert
Автор

How will this Realtime debugging using ADB LogCat to debug your Android apps help me understand why my game crashes and goes back to the regular phone home screen?
Will it tell me the problem?

Stinger-rqgy
Автор

mate, pretty good tutorial! Helped out a lot! cheers!

richarddoci