Android Sdk Osx

broken image


The purpose of this section is to guide you to install in your development environment all the dependencies for Android development.

The fastest way is to download and install Android Studio.

Latest current version for Android Studio is available at: https://developer.android.com/studio/index.html

Android SDK is a freeware avd management software app filed under programming software and made available by Google for Windows. The review for Android SDK has not been completed yet, but it was tested by an editor here on a PC and a list of features has been compiled; see below. Terms and Conditions This is the Android Software Development Kit License Agreement 1. Introduction 1.1 The Android Software Development Kit (referred to in the License Agreement as the 'SDK' and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of the License Agreement. Alternatively, you can create the /opt/android/sdk directory from the command line, and then use the standard ZIP-management features of the Ubuntu file manager to extract the ZIP file contents. Download android-sdk-setup.zip, and extract its contents to the appropriate directory for your platform.

Select the Installer Icon:

Visual Studio includes an Android SDK Manager that you use to download Android SDK tools, platforms, and other components that you need for developing Xamarin.Android apps. This guide explains how to use the Xamarin Android SDK Manager in Visual Studio and Visual Studio for Mac.

To install Android Studio on your Mac, proceed as follows:

Android Sdk Manager

  1. Launch the Android Studio DMG file.
  2. Drag and drop Android Studio into the Applications folder, then launch Android Studio.
  3. Select whether you want to import previous Android Studio settings, then click OK.
  4. The Android Studio Setup Wizard guides you though the rest of the setup, which includes downloading Android SDK components that are required for development.


Click the Next button.

Select a Standard installation and click Next.

Android Sdk Linux

Android Sdk Osx

On the Verify Settings window, click Finish.

Once installed, you get the Welcome to Android Studio window :

Click on the Configure Button and select SDK Manager:

In the left pane select Android SDK. On the right pane, select the SDK Platforms Tab and select the SDKs for API level 22 up to 24.

Click the OK button to download and install these Android SDKs.

After accepting the licence you should see the following screen: Film links for you.

Wait until all components are installed.

Setup the ANDROID_HOME system variable

Android Sdk Tools Download

Open the SDK Manager and make a copy of the Android SDK Location :

Open the Terminal app and type the following command:

To check the ANDROID_HOME is correctly setup type the following commands:

You should see the following result:

Persist the ANDROID_HOME system variable for the current user

The ANDROID_HOME system variable must be persisted when you leave and resstart a new Terminal Window.

One way to do this is to create or update a .profile file in the user's home directory. This file should contain all the commands that should be executed before the Terminal Window session starts.

Open the Terminal app and type the following commands:

In the Text Editor, add the following line

Android Sdk Tool

You should have a screen similar to the following screenshot:

To save the .profile file, type CTRL + X, then type Y followed by the ENTER key.

How To Install Android Sdk

Once done, quit the Terminal window, reopen a new one and type the following command to check if the system variable has been persisted:

You should have a non empty response.

References





broken image