Realtime Debugging for Unity Android Apps - ADB LogCat Tutorial

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 88

  • @TurboMakesGames
    @TurboMakesGames  5 лет назад +4

    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

  • @jamememes4114
    @jamememes4114 2 года назад +1

    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.

    • @TurboMakesGames
      @TurboMakesGames  2 года назад +1

      Hah, awesome! Hopefully you'll be consulting my ECS videos for a job-related thing at some point 😉

    • @jamememes4114
      @jamememes4114 2 года назад

      @@TurboMakesGames AHAHAHAH I think the studio will wait until they release a 1.0 - but your content is sure to get us ahead of the curve :D

  • @akisey1
    @akisey1 4 года назад +7

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

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      So glad to hear this, I appreciate the positive feedback!

  • @mak22online
    @mak22online 5 лет назад +1

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

    • @TurboMakesGames
      @TurboMakesGames  5 лет назад +2

      Great to hear that this helped you understand it. Yes, it can be a bit intimidating at first, but once you understand how to use it properly, it is an essential tool!

  • @justapolitecommenter351
    @justapolitecommenter351 5 лет назад

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

    • @TurboMakesGames
      @TurboMakesGames  5 лет назад +1

      Thank you so much, glad you have been finding these videos helpful! Plenty more to come... 😁

  • @ElvisHrdz
    @ElvisHrdz 5 лет назад +2

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

  • @josephjosephBBX
    @josephjosephBBX 3 года назад +4

    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."

  • @franz3810
    @franz3810 4 года назад

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

  • @VideoesitorAB
    @VideoesitorAB 4 года назад +1

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

    • @TurboMakesGames
      @TurboMakesGames  4 года назад +1

      Great to hear this helped you out! Always cool to see people from around the world here!

  • @warlockCommitteeMeeting
    @warlockCommitteeMeeting 4 года назад +1

    I like this guy. Good work.

  • @DevilPork92ITA
    @DevilPork92ITA 4 года назад

    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

  • @zeramino
    @zeramino 4 года назад

    Works like a charm. Thanks man, very helpful!

  • @PiyPowKachou
    @PiyPowKachou 4 года назад +1

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

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      Glad to hear this helped you out! Awesome that you are going to get into ECS as well!

  • @migueldelgado1258
    @migueldelgado1258 4 года назад +1

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

  • @legendguitargamer
    @legendguitargamer 4 года назад +1

    Man, this is lit! Thank you very much!

  • @onlyforjesus5464
    @onlyforjesus5464 3 года назад +1

    Thank you so much! Very helpful!

  • @Stinger-rq4gy
    @Stinger-rq4gy 2 года назад

    Thank you for making these videos

  • @tarsocoelho6852
    @tarsocoelho6852 3 года назад +1

    Awesome, thank you!

  • @javedurrehman7010
    @javedurrehman7010 4 года назад +1

    very good tutorial. It helped alot THANKS (y)

  • @sanchitgngplays
    @sanchitgngplays 4 года назад

    as always, great content!!!!!

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      Thanks so much!! Glad you've been enjoying 😊

  • @jasonwolff2084
    @jasonwolff2084 4 года назад +1

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

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      Yes this certainly makes it much easier to track down bugs. So glad to hear this helped you out!

  • @AAAAAABBBZZZZVV
    @AAAAAABBBZZZZVV 4 года назад

    you're my hero! Thanks a lot!

  • @willygamedev8144
    @willygamedev8144 4 года назад +1

    That was very helpful thanks!

  • @jakub9640
    @jakub9640 4 года назад +1

    Thank You! I've been having some issues where my android build has functions that simply don't work like they are supposed to, as they work fine on PC and other builds. Hopefully I can figure it out with this!

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      Awesome! That is why it is so important to test a build on an actual device that you are going to be deploying to. Hope you get that all figured out soon!!

    • @jakub9640
      @jakub9640 4 года назад

      @@TurboMakesGames Yep turns out it was a build error, however I'm not 100% sure on that just yet as if the problem reoccurs on the current build then that will show it's something else, and I'll have to use log cat to figure it out. However the log cat thing is super useful just for general debugging so thx

  • @jake-vr
    @jake-vr 5 лет назад +1

    Super helpful, cheers!

  • @DiosSalveAMaria
    @DiosSalveAMaria 4 года назад +1

    Thank you very much!!

  • @richarddoci
    @richarddoci 5 лет назад +1

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

  • @taealambert2751
    @taealambert2751 4 года назад

    Awesome Tutorial, Thanks for the help :-)

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      Great to hear! Glad it worked out for you 😀

  • @HadiExtreme
    @HadiExtreme Год назад

    Thanks mate!

  • @MohammadMansourBone
    @MohammadMansourBone 4 года назад +1

    Thanks man you are awesome :)

  • @darcking99
    @darcking99 2 месяца назад

    hero

  • @alexspeleers
    @alexspeleers 4 года назад +1

    Tnx, informative

  • @Stinger-rq4gy
    @Stinger-rq4gy 2 года назад +1

    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?

    • @TurboMakesGames
      @TurboMakesGames  2 года назад +1

      It may not tell you the exact problem, but you can get a log to see what your game was doing just before the crash and that should give you an idea of where to start debugging your code

  • @enrisco9284
    @enrisco9284 4 года назад +1

    you certainly deserve a kiss on the mouth after this tutorial

  • @marcolozano1348
    @marcolozano1348 4 года назад

    @Turbo Makes Games, a few months ago I used the monitor method. I bought a new laptop and re installed Unity. When I'm trying to select the monitor file, the following error shows:
    "Windows cannot find 'lib\monitor-location'. Make sure you typed the name correctly, and then try again ".
    Any suggestions? Nice video btw. This tutorial helped me a lot and therefore I'm here again asking for help!
    Best regards.
    Marco

    • @TurboMakesGames
      @TurboMakesGames  4 года назад

      Did you make a shortcut to the location of the monitor file? If so, it might not be pointing to the current location of the monitor file. Otherwise, it might be worth it to do a fresh install of the Android SDK.

    • @marcolozano1348
      @marcolozano1348 4 года назад

      @@TurboMakesGames Will try! I did create a shortcut but also tried with the monitor file.

    • @marcolozano1348
      @marcolozano1348 4 года назад

      @@TurboMakesGames thanks for the response!

    • @marcolozano1348
      @marcolozano1348 4 года назад +1

      @@TurboMakesGames I had to use the cmd method (of course it works). But the one with the monitor is still a mistery (and it is more comfortable). Which version of Unity are you using nowadays?
      Thanks in advance!

    • @tempest1110
      @tempest1110 4 года назад +1

      having the same issue any help

  • @mrnajel6454
    @mrnajel6454 Год назад

    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

  • @francesco-nq6dc
    @francesco-nq6dc 3 года назад

    i can also use this kind of the debugging using an android emulator like bluestacks? thanks for the contente man

  • @sanketvaria9734
    @sanketvaria9734 2 года назад +1

    Monitor.bat does not open.

  • @Snikabarz
    @Snikabarz 3 года назад

    yo, when I type in "adb logcat -s Unity" it just says "Waiting for device" and doesn't do anything else

    • @TurboMakesGames
      @TurboMakesGames  3 года назад

      Sounds like your PC isn't recognizing your phone. Make sure your phone is set for USB debugging first

  • @ravichandrakamminana956
    @ravichandrakamminana956 4 года назад

    how to use gui for logcat on mac?

  • @TheTasmas
    @TheTasmas 5 лет назад

    how do i get the phone screen on my computer?

    • @yugiohk574
      @yugiohk574 4 года назад

      his phone screen ins't in his computer it's video editing but that its possible if u google it im sure that u will find out how to do it

  • @sanketvaria9734
    @sanketvaria9734 3 года назад

    it does not work.

  • @DearFrogPrince
    @DearFrogPrince 3 года назад

    Viewing log is not equal to debugging.

  • @justapolitecommenter351
    @justapolitecommenter351 5 лет назад

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