Unity+Android on Mac

Home/Games/Unity+Android on Mac

Unity+Android on Mac

Right off the bat, installing the Android SDK was a bit of a “huh?” moment, but I came across this nice guide for getting up to speed with installing the Android SDK on a Mac: http://www.youtube.com/watch?v=zTh1i-7D75o

So to recap and make it more geared towards Unity peeps, do this:

  1. Download the latest SDK: http://developer.android.com/sdk/index.html
  2. Unpack it and place it somewhere, i.e. /Developer/android-sdk-macosx/
  3. Fire up a terminal window go to /Developer/android-sdk-macosx/tools and execute the Android SDK Manager:   ./android
  4. When the window pops up, check the boxes for target APIs you need, and hit “Install x packages” <- x the number of packages to install
  5. Connect your Android device to your Mac with a USB cable and go to it’s Settings->Applications->Development->USB debugging and turn it on
  6. When you build for Android in Unity the first time, point it to the /Developer/android-sdk-macosx/ folder when it asks for the SDK location

Tadaaa!

if(Tadaaa==false)
{
RestartUnity(“BuildAndRunAgain”);
}

By | 2012-03-25T16:55:22+00:00 March 25th, 2012|Games|0 Comments

About the Author:

Leave A Comment