Search:

  • Portfolio
  • Blog
  • About
  • Contact

Debugging Unity on Android

Posted date:  February 18, 2012  |  No comment


February 18, 2012

Just wanted to document the steps for how to monitor debug messages and such for a running Unity application on Android for Mac:

Step 1:

Open up a Terminal window.

Step 2:

In Finder locate the adb application in the Android SDK (under platform-tools as of writing this).

Step 3:

Drag the adb application into your terminal window to autocomplete the path.

Step 4:

Add “logcat -s Unity” after the adb application path (without the quotes). Your command should now look similar to: …android-sdk-macosx/platform-tools/adb logcat -s Unity OR just add “logcat” to gain access to everything the device is sending in case you need more detail.

Step 5:

Press return and get your debug on.

Post to Twitter


Wanna say something?





  Cancel Reply


  • Recent Posts

    • Simple State Saving
      Saving the state of a GameObject(read MonoBehavior) via traditional serialization...
    • The best darn throwable object spinner
      Nothing more I can say about this release other than its a draggable object rotator...
    • Unity needed cmd-g and ctrl-g
      I've found my left hand hitting the trusty "make group" key combination in Unity...
  • Categories

    • Augmented Reality
    • General Babble
    • Unity





© 2012 Bob Berkebile (PixelPlacementâ„¢) and additional respective holders all content used with permission