Wednesday, 21 September 2016

Android Studio on Mac OS X

How to Install Android Studio

Before we get started, you’ll need to ensure that you have installed JDK 6 or higher (JDK7 is required for Android 5.0 and higher) on your PC.
Note: All of the following instructions, as well as the installation tutorials are for your PC. You can’t download or install Android Studio on your Android device.
To check your version, open terminal (OS specific details below) and type:
javac -version
If the JDK doesn’t show up, or you have an older version and would like to upgrade, download JDK here.

How to Set Up Android Studio on Mac OS X


  1. Download the installer to your PC and launch the .dmg  file from the Android Studio home page.
  2. Drag and drop the .dmg into your Applications folder.
  3. Open Android Studio and follow the instructions from the setup wizard.
If you get a warning saying that the file is damaged and should be moved to the trash, go to System Preferences > Security & Privacy and under the “Allow applications downloaded from” section select“Anywhere.” From here you can repeat Step 3 and install the program.
To access Android SDK tools from the command line (Finder > Applications > Utilities > Terminal):
/users/Library/Android/sdk/

Adding & Installing Packages

  1. Click “SDK manager” in the toolbar and select one of the following from the Tools directory:
    • Android SDK Tools
    • Android SDK Platform-tools
    • Android SDK Build-tools (select the highest version)
  2. And/Or select the following from the Android X.X (latest version) folder:
    • SDK Platform
    • System image for emulation, such as ARM EABI v7a System Image
  3. Click Install X packages
  4. Accept the license agreement
  5. Click Install

How to Install Android SDK

First, download the stand-alone SDK files to your Mac PC. Next…
Note: All of the following steps will take place on your PC. You cannot install Android SDK on your phone or tablet

Mac

  1. Unpack the .zip file and move it to the desired location.
  2. Make a note of the name and location of the SDK directory on your system so that you can refer back to it easily when using the SDK tools from the command line.

No comments:
Write comments