Realtime Debugging for Unity Android Apps - ADB LogCat Tutorial

Поділитися
Вставка
  • Опубліковано 7 лис 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

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

  • @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!

  • @ElvisHrdz
    @ElvisHrdz 5 років тому +2

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

  • @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!

  • @franz3810
    @franz3810 4 роки тому

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

  • @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... 😁

  • @warlockCommitteeMeeting
    @warlockCommitteeMeeting 4 роки тому +1

    I like this guy. Good work.

  • @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!

  • @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!

  • @migueldelgado1258
    @migueldelgado1258 4 роки тому +1

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

  • @onlyforjesus5464
    @onlyforjesus5464 3 роки тому +1

    Thank you so much! Very helpful!

  • @legendguitargamer
    @legendguitargamer 4 роки тому +1

    Man, this is lit! Thank you very much!

  • @tarsocoelho6852
    @tarsocoelho6852 3 роки тому +1

    Awesome, thank you!

  • @sanchitgngplays
    @sanchitgngplays 4 роки тому

    as always, great content!!!!!

    • @TurboMakesGames
      @TurboMakesGames  4 роки тому

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

  • @willygamedev8144
    @willygamedev8144 4 роки тому +1

    That was very helpful thanks!

  • @Stinger-rq4gy
    @Stinger-rq4gy 2 роки тому

    Thank you for making these videos

  • @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!

  • @jake-vr
    @jake-vr 5 років тому +1

    Super helpful, cheers!

  • @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

  • @MohammadMansourBone
    @MohammadMansourBone 4 роки тому +1

    Thanks man you are awesome :)

  • @javedurrehman7010
    @javedurrehman7010 4 роки тому +1

    very good tutorial. It helped alot THANKS (y)

  • @HadiExtreme
    @HadiExtreme Рік тому

    Thanks mate!

  • @taealambert2751
    @taealambert2751 4 роки тому

    Awesome Tutorial, Thanks for the help :-)

    • @TurboMakesGames
      @TurboMakesGames  4 роки тому

      Great to hear! Glad it worked out for you 😀

  • @DiosSalveAMaria
    @DiosSalveAMaria 4 роки тому +1

    Thank you very much!!

  • @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

  • @richarddoci
    @richarddoci 5 років тому +1

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

  • @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

  • @sanketvaria9734
    @sanketvaria9734 2 роки тому +1

    Monitor.bat does not open.

  • @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

  • @darcking99
    @darcking99 2 місяці тому

    hero

  • @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

  • @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

  • @alexspeleers
    @alexspeleers 4 роки тому +1

    Tnx, informative

  • @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!