Return to site

Android Sdk Path Mac

broken image


Home » Android » Finding Android SDK on Mac and adding to PATH. Finding Android SDK on Mac and adding to PATH. Posted by: admin November 27, 2017 Leave a comment. Android SDK environment variables; ANDROIDSDKROOT: Sets the path to the SDK installation directory. Once set, the value does not typically change, and can be shared by multiple users on the same machine. ANDROIDHOME, which also points to the SDK installation directory, is deprecated. If you continue to use it, the following rules apply. Whether you're building an Android application in Unity or programming it from scratch, you need to set up the Android SDK (software development kit) before you can build and run any code on your Android device. Download the Android SDK. On your PC, go to the Android Developer SDK website. Download and unpack the latest Android SDK. To set the Android SDK location, enter the full path of the Android SDK directory into the Android SDK Location box. You can navigate to the Android SDK location in File Explorer, copy the path from the address bar, and paste this path into the Android SDK Location box.

Maximum folks won't ever want to set up the Android SDK. The explanation why is correct within the identify — Instrument Construction Equipment. It is constructed for folks writing Android apps who want instruments to paintings with Android from a pc.

However the ones instruments may also be to hand for other folks short of to do a little extra complicated stuff. Stuff like manually updating instrument or rooting their telephone. Fastboot and ADB are essential in case you are into 'hacking' on the Android instrument. And Google supplies it loose for everybody.

What to make a choice?

There are two tactics to get a running set of Android instruments to your laptop. The simple approach is to simply set up Android Studio. The whole thing had to run and use the Android command line instruments is a part of Android Studio, as neatly with the intention to stay the instruments up to date. Whilst it is designed for other folks who need an entire building setting and features a code editor, Android emulator, and compiler, you'll be able to use simply the command line instruments and not open the remainder.

If you are now not afraid to get your toes rainy, you'll be able to set up simply the SDK elements out of doors of Android Studio. Putting in them is simple (they are within a zipper document) however putting in your laptop to make use of them is not an easy procedure.

Manually putting in the Android SDK

Obtain the SDK direct from Google via clicking right here. Scroll down just a little and to find the phase marked 'Get simply the command line instruments' and put it aside someplace simple to get to, like your desktop. We will be extracting it to a greater location in your next step.

The document you downloaded is compressed. You can want to be acquainted with compressed recordsdata — and find out how to extract them — to head to any extent further. If you are now not, forestall right here and spend the time to be told about them.

Extract your compressed document into the next location:

  • Home windows: The basis of your C: power
  • OS X: Your house folder
  • Linux: Your house folder

Rename the extracted folder to 'Android'. This will likely make the remainder of this information, and your time with the SDK, a lot more straightforward.

Necessities

You can desire a running model of Java to run the SDK elements. For many issues you'll be able to be doing with the SDK each Open Java and Solar Java from Oracle (sure, that Oracle) will paintings.

  • On a Mac, it is beautiful simple as a result of you'll be able to have already got it put in until you uninstalled it. Should you did, set up it once more — you must understand how.
  • On Home windows, head to the Oracle web page and obtain the right kind model (32- or 64-bit) on your laptop. Once more, if this will provide you with any hassle forestall what you might be doing and be informed just a little extra about your laptop. If you'll be able to't set up Java, perhaps you might be now not but waiting to make use of the Android SDK.
  • On a Linux laptop, you'll be able to additionally want to set up Java. You'll to find x86 and x64 binaries for Solar Java from Oracle at their web page. OpenJDK additionally works for many issues you'll be able to want to do with the SDK.(OpenJDK is now bundled with Android Studio which contains the SDK in addition to a building setting) and you'll be able to to find entire directions to get it put in on the OpenJDK web page. If you want extra help or wish to use a package deal supervisor to put in Solar Java, you'll be able to want to consult with the documentation on your specific distro.

Linux customers may even have to ensure they've some 32-bit libraries put in if they're working a 64-bit model of the running gadget. If you are the usage of Ubuntu or every other Debian variant, set up ncurses5 and stdc++6 via your terminal:

sudo apt-get set up lib32ncurses5 lib32stdc++6

If you are the usage of a distinct taste of Linux, to find the right kind applications for ncurses5 and stdc++6 and set up them.

Putting in the instruments

Extract the document you downloaded above right into a folder named Android at the root of your C power (Home windows) or into your House folder (Mac, Linux). You may realize a couple of issues are lacking should you've ever downloaded the command line instruments ahead of because the instruments and platform-tools folders are lacking. That is OK, we are about to get them the usage of the integrated SDK supervisor.

Open the bin folder within the extracted obtain and to find the sdkmanager executable document. It'll appear to be a terminal or shell command however it'll open a GUI so long as you've Java put in accurately.

Within the SDK supervisor you'll be able to make a selection to put in Android SDK Equipment and Android SDK Platform-Equipment. If you are the usage of Home windows you'll be able to additionally wish to set up the Google USB Driving force, and should you plan on construction AOSP from supply it's possible you'll wish to set up the Android SDK Construct-Equipment.

Select the right kind recordsdata and continue throughout the procedure (it'll display you a license settlement you must learn) and each instruments folders can be put in. However you might be now not slightly completed!

The instruments can be put in into the applying knowledge folder. On Home windows it is in WindowsusersYourUserNameAppDataLocalAndroid and on a Mac or Linux it is in .Android (realize the dot!) in your house folder. Create a symbolic hyperlink (knowledge for Home windows customers right here) for each instruments folders within the Android folder you created previous. This will likely lend a hand get them into your PATH and make lifestyles so much more straightforward.

Atmosphere your PATH

Sdk

The PATH variable to your laptop's running gadget tells it the place to seem when you need to run a command from a terminal or the command line. For instance, to run the ADB command you both want to sort and give you the entire trail — ie the folder ADB is in fact in, throughout the SDK folder — or have the positioning set within the PATH variable itself. It's kind of complicated, however the excellent news is that doing it's more straightforward than explaining it.

For those instructions to paintings as written, you'll have to have extracted and renamed the SDK obtain folder as discussed above, and to the right kind location for this instructional. Gopanel 1 9 3 – manage web servers ip.

On Home windows

Android Sdk Path Mac Os

Until you might be nonetheless the usage of an older model of Home windows, you not can set the PATH within the autoexec.bat document or autoexec.nt document. You can want to replace the gadget Atmosphere Variable settings as a substitute. This is how it is performed on a Home windows 10 system:

  • Hit the Get started key to your Keyboard.
  • Get started typing the phrases Atmosphere Variables.
  • As you sort, you'll be able to see the selection to Edit the gadget setting variables. Select it.
  • Within the Atmosphere Variables window, choose the PATH line merchandise within the Consumer variables for (your consumer identify) phase, then click on the Edit button.

Upload the whole trail to the Android SDK instruments and Android SDK platform-tools folders within the edit field, separated via a semi-colon. It must glance one thing like this:

C:Androidtools;C:Androidplatform-tools

For older variations of Home windows, consult with the documentation that got here together with your laptop for help on atmosphere the PATH. And, once more: Should you've put in your SDK someplace as opposed to Android, you'll be able to want to regulate accordingly.

On a Mac

You'll set your PATH variable on a system working OS X to your bash profile. Doing so is simple, and is all performed in a single document.

To your House folder is a document named .bash_profile. Open it with any textual content editor. By no means contact the .bashrc or .bash_profile recordsdata chances are you'll to find within the /and so on listing!

You may even see a clean document, or it can be filled with different knowledge. All we want to do is upload a pair strains to the highest of the document:

export PATH='$HOME/Android/instruments:$PATH'

export PATH='$HOME/Android/platform-tools:$PATH'

(Did we point out that in case your SDK is in every other location, you'll be able to want to regulate issues accordingly? Just right.)

Save the document, and reboot your laptop so the brand new PATH is sourced correctly.

On Linux

Atmosphere the PATH on a Linux laptop is sort of the similar as on a Mac, you simply edit a distinct document.

Free wireframe tools for mac. The usage of your favourite textual content editor, open the ~/.bashrc document. It is going to most definitely exist and feature a couple of entries. Should you get an error that the document does now not exist, merely create a brand new document and put it aside as ~/.bashrc when completed.

You will want to upload the next two strains to the END of the .bashrc document:

export PATH='$HOME/Android/instruments:$PATH'

export PATH='$HOME/Android/platform-tools:$PATH'

Save the document, and shut the terminal window. Open a brand new example of the terminal and sort this command:

supply ~/.bashrc

Your consultation will reference the adjustments you made and the SDK can be to your PATH.

Wrapping it up

You must now have a running set of Android command line instruments and have the ability to do such things as flash the most recent manufacturing unit pictures or manually replace your telephone with a zipper document. And since you did it your self, you've what you want to mend it when issues pass incorrect.

Just right good fortune and feature amusing!

Up to date February 2019: This newsletter has been up to date with new obtain places and details about the Android SDKManager.

!serve as(f,b,e,v,n,t,s)(window,
record,'script','https://attach.fb.web/en_US/fbevents.js');
fbq(‘init', ‘1674633419534068');
fbq(‘monitor', ‘PageView');

(serve as(d, s, identification) (record, ‘script', ‘facebook-jssdk'));

var fbAsyncInitOrg = window.fbAsyncInit;
window.fbAsyncInit = serve as() ;

Skip to end of metadataGo to start of metadata
  • Compatibility and Download
    • Android SDK / Target Android platform
  • Installation
    • macOS
    • Windows
  • Installing Android Packages with Android SDK Manager

Overview

This guide describes where to obtain and how to install the Google Android SDK and associated packages.

Compatibility and Download

Titanium requires the Android SDK Tools to be installed in order to allow you to develop Android applications.Icon

Remember that Oracle JDK is a prerequisite for Android development and should be installed first. You need at least JDK 8 installed. See Installing Oracle JDK for instructions.

The Android SDK Manager installer may be obtained from the Android Studio and SDK tools site.

Required Android Packages

As of Titanium 9.0.0, the build system will automatically download the Android SDK platforms and tools needed.

For Titanium 8.x.x, you need to installed the following packages via the Android SDK Manager yourself:

Package

Minimum Version

Android SDK Tools

Rev 28

Android SDK Build-tools

Money pro 2 0 13 download free. Rev 23 Guitar pro 7 torrent mac.

Android SDK Platform (API Level)

API Level 29 for Titanium 8.3.x

API Level 28 for Titanium version older than 8.3.0

Icon

Titanium SDK 7.0.0+ requires Android SDK Tools v25 or newer as a minimum requirement.

Icon

Take caution before upgrading these packages, as changes to the way they work has broken the Titanium toolchain a number of times in the past. Although these problems are often beyond our control, we always do our utmost to fix them as soon as we are made aware of them.

With this in mind, it's important to only upgrade these packages between major projects, so that you have time to fix any problems that may result. Always consult the Android Tools Release Notes and Known Issues first, and refer to our Installation Troubleshooting guide to check whether there are any further actions that need to be taken to make the Titanium and the Android SDK compatible.

Android SDK / Target Android platform

Each Titanium SDK supports building against a specific range of Android versions, as shown in the following table, and requires at least one of these versions to be installed. If you specify a android:targetSDKVersion in the tiapp.xml file of your project, you must specify one within the target min and max values. The minimum Android/SDK version column indicates the minimum version of Android that a device can run, which a Titanium application supports.

Supported versions

Titanium SDK Version

Min Target Android/SDK Version
(android:targetSdkVersion)

Max Target Android/SDK Version
(android:targetSdkVersion)

Minimum Android/SDK Version
(android:minSdkVersion)
8.3.0 - latest6.0.x (API 23)10.0.x (API 29)4.4.x (API 19)
8.0.0 - 8.2.26.0.x (API 23)9.0.x (API 28)4.4.x (API 19)
7.5.0 - 7.5.16.0.x (API 23)9.0.x (API 28)

4.1.x (API 16)

7.3.0 - 7.4.16.0.x (API 23)8.1.x (API 27)4.1.x (API 16)
7.0.0 - 7.2.06.0.x (API 23)7.0.x (API 25)4.1.x (API 16)
Unsupported versions

Titanium SDK Version

Min Target Android/SDK Version
(android:targetSdkVersion)

Max Target Android/SDK Version
(android:targetSdkVersion)

Minimum Android/SDK Version
(android:minSdkVersion)
6.2.0 - 6.3.07.1.x (API 25)6.0.x (API 23)4.1.x (API 16)
6.0.0 - 6.1.x6.0.x (API 23)6.0.x (API 23)4.1.x (API 16)
5.1.0 - 5.5.x6.0.x (API 23)6.0.x (API 23)4.0.x (API 14)
5.0.0 - 5.0.x5.0.x (API 21)6.0.x (API 23)4.0.x (API 14)
4.0.0 - 4.1.x5.0.x (API 21)5.1.x (API 22)4.0.x (API 14)
3.4.1 - 3.5.14.0.x (API 14)*5.0.x (API 21)**2.3.x (API 10)
3.3.0 - 3.4.04.0.x (API 14)*4.4.x (API 19)2.3.x (API 10)
3.2.0 - 3.2.32.3.x (API 10)*4.4.x (API 19)2.3.x (API 10)
3.1.2 - 3.1.32.3.x (API 10)4.3.x (API 18)2.3.x (API 10)
3.1.12.3.x (API 10)4.2.x (API 17)2.3.x (API 10)
3.1.02.2 (API 8)4.2.x (API 17)2.2 (API 8)

2.1.2 - 3.0.2

2.2 (API 8)

4.1.x (API 16)

2.2 (API 8)

2.0 - 2.1.1

How to download games for mac os x. 2.2 (API 8)

4.0.x (API 15)

2.2 (API 8)

1.8.x

2.2 (API 8)

3.x.x (API 11) https://jtsl.over-blog.com/2020/12/houdahgeo-6-0-18.html.

2.2 (API 8)

1.7.x

2.1 (API 7)

3.x.x (API 11)

2.1 (API 7)

Notes

Icon

* If you are building an Android module, you need to have Android SDK 6.0.x (API 23) installed if using Release 6.0.0 and greater. How to torrent adobe premiere pro mac.

** The Titanium SDK does not support the Android 4.4W SDK (API 20), also known as the Android Wear SDK.

Most mobile device manufacturers have been licensed to use Google's enhanced API, which provides support for Maps and other functionality. If this is the case for your target devices, you will need to install the relevant Google packages, listed as Google APIs by Google Inc., Android API x. by the Android SDK Manager tool. In Studio, choose the SDKs with the naming format 'Google APIs x.x' to use the enhanced APIs, or those without the 'Google APIs' prefix otherwise.

Android SDK packages can be installed using the Android SDK Manager tool. See Installing the Android SDK for detailed instructions.

The default Android SDK can be configured using Studio's Preferences, and then selected per-project using the Run Configurations.

Android Native Add-on Module Development on macOS
Android sdk location mac

The PATH variable to your laptop's running gadget tells it the place to seem when you need to run a command from a terminal or the command line. For instance, to run the ADB command you both want to sort and give you the entire trail — ie the folder ADB is in fact in, throughout the SDK folder — or have the positioning set within the PATH variable itself. It's kind of complicated, however the excellent news is that doing it's more straightforward than explaining it.

For those instructions to paintings as written, you'll have to have extracted and renamed the SDK obtain folder as discussed above, and to the right kind location for this instructional. Gopanel 1 9 3 – manage web servers ip.

On Home windows

Android Sdk Path Mac Os

Until you might be nonetheless the usage of an older model of Home windows, you not can set the PATH within the autoexec.bat document or autoexec.nt document. You can want to replace the gadget Atmosphere Variable settings as a substitute. This is how it is performed on a Home windows 10 system:

  • Hit the Get started key to your Keyboard.
  • Get started typing the phrases Atmosphere Variables.
  • As you sort, you'll be able to see the selection to Edit the gadget setting variables. Select it.
  • Within the Atmosphere Variables window, choose the PATH line merchandise within the Consumer variables for (your consumer identify) phase, then click on the Edit button.

Upload the whole trail to the Android SDK instruments and Android SDK platform-tools folders within the edit field, separated via a semi-colon. It must glance one thing like this:

C:Androidtools;C:Androidplatform-tools

For older variations of Home windows, consult with the documentation that got here together with your laptop for help on atmosphere the PATH. And, once more: Should you've put in your SDK someplace as opposed to Android, you'll be able to want to regulate accordingly.

On a Mac

You'll set your PATH variable on a system working OS X to your bash profile. Doing so is simple, and is all performed in a single document.

To your House folder is a document named .bash_profile. Open it with any textual content editor. By no means contact the .bashrc or .bash_profile recordsdata chances are you'll to find within the /and so on listing!

You may even see a clean document, or it can be filled with different knowledge. All we want to do is upload a pair strains to the highest of the document:

export PATH='$HOME/Android/instruments:$PATH'

export PATH='$HOME/Android/platform-tools:$PATH'

(Did we point out that in case your SDK is in every other location, you'll be able to want to regulate issues accordingly? Just right.)

Save the document, and reboot your laptop so the brand new PATH is sourced correctly.

On Linux

Atmosphere the PATH on a Linux laptop is sort of the similar as on a Mac, you simply edit a distinct document.

Free wireframe tools for mac. The usage of your favourite textual content editor, open the ~/.bashrc document. It is going to most definitely exist and feature a couple of entries. Should you get an error that the document does now not exist, merely create a brand new document and put it aside as ~/.bashrc when completed.

You will want to upload the next two strains to the END of the .bashrc document:

export PATH='$HOME/Android/instruments:$PATH'

export PATH='$HOME/Android/platform-tools:$PATH'

Save the document, and shut the terminal window. Open a brand new example of the terminal and sort this command:

supply ~/.bashrc

Your consultation will reference the adjustments you made and the SDK can be to your PATH.

Wrapping it up

You must now have a running set of Android command line instruments and have the ability to do such things as flash the most recent manufacturing unit pictures or manually replace your telephone with a zipper document. And since you did it your self, you've what you want to mend it when issues pass incorrect.

Just right good fortune and feature amusing!

Up to date February 2019: This newsletter has been up to date with new obtain places and details about the Android SDKManager.

!serve as(f,b,e,v,n,t,s)(window,
record,'script','https://attach.fb.web/en_US/fbevents.js');
fbq(‘init', ‘1674633419534068');
fbq(‘monitor', ‘PageView');

(serve as(d, s, identification) (record, ‘script', ‘facebook-jssdk'));

var fbAsyncInitOrg = window.fbAsyncInit;
window.fbAsyncInit = serve as() ;

Skip to end of metadataGo to start of metadata
  • Compatibility and Download
    • Android SDK / Target Android platform
  • Installation
    • macOS
    • Windows
  • Installing Android Packages with Android SDK Manager

Overview

This guide describes where to obtain and how to install the Google Android SDK and associated packages.

Compatibility and Download

Titanium requires the Android SDK Tools to be installed in order to allow you to develop Android applications.Icon

Remember that Oracle JDK is a prerequisite for Android development and should be installed first. You need at least JDK 8 installed. See Installing Oracle JDK for instructions.

The Android SDK Manager installer may be obtained from the Android Studio and SDK tools site.

Required Android Packages

As of Titanium 9.0.0, the build system will automatically download the Android SDK platforms and tools needed.

For Titanium 8.x.x, you need to installed the following packages via the Android SDK Manager yourself:

Package

Minimum Version

Android SDK Tools

Rev 28

Android SDK Build-tools

Money pro 2 0 13 download free. Rev 23 Guitar pro 7 torrent mac.

Android SDK Platform (API Level)

API Level 29 for Titanium 8.3.x

API Level 28 for Titanium version older than 8.3.0

Icon

Titanium SDK 7.0.0+ requires Android SDK Tools v25 or newer as a minimum requirement.

Icon

Take caution before upgrading these packages, as changes to the way they work has broken the Titanium toolchain a number of times in the past. Although these problems are often beyond our control, we always do our utmost to fix them as soon as we are made aware of them.

With this in mind, it's important to only upgrade these packages between major projects, so that you have time to fix any problems that may result. Always consult the Android Tools Release Notes and Known Issues first, and refer to our Installation Troubleshooting guide to check whether there are any further actions that need to be taken to make the Titanium and the Android SDK compatible.

Android SDK / Target Android platform

Each Titanium SDK supports building against a specific range of Android versions, as shown in the following table, and requires at least one of these versions to be installed. If you specify a android:targetSDKVersion in the tiapp.xml file of your project, you must specify one within the target min and max values. The minimum Android/SDK version column indicates the minimum version of Android that a device can run, which a Titanium application supports.

Supported versions

Titanium SDK Version

Min Target Android/SDK Version
(android:targetSdkVersion)

Max Target Android/SDK Version
(android:targetSdkVersion)

Minimum Android/SDK Version
(android:minSdkVersion)
8.3.0 - latest6.0.x (API 23)10.0.x (API 29)4.4.x (API 19)
8.0.0 - 8.2.26.0.x (API 23)9.0.x (API 28)4.4.x (API 19)
7.5.0 - 7.5.16.0.x (API 23)9.0.x (API 28)

4.1.x (API 16)

7.3.0 - 7.4.16.0.x (API 23)8.1.x (API 27)4.1.x (API 16)
7.0.0 - 7.2.06.0.x (API 23)7.0.x (API 25)4.1.x (API 16)
Unsupported versions

Titanium SDK Version

Min Target Android/SDK Version
(android:targetSdkVersion)

Max Target Android/SDK Version
(android:targetSdkVersion)

Minimum Android/SDK Version
(android:minSdkVersion)
6.2.0 - 6.3.07.1.x (API 25)6.0.x (API 23)4.1.x (API 16)
6.0.0 - 6.1.x6.0.x (API 23)6.0.x (API 23)4.1.x (API 16)
5.1.0 - 5.5.x6.0.x (API 23)6.0.x (API 23)4.0.x (API 14)
5.0.0 - 5.0.x5.0.x (API 21)6.0.x (API 23)4.0.x (API 14)
4.0.0 - 4.1.x5.0.x (API 21)5.1.x (API 22)4.0.x (API 14)
3.4.1 - 3.5.14.0.x (API 14)*5.0.x (API 21)**2.3.x (API 10)
3.3.0 - 3.4.04.0.x (API 14)*4.4.x (API 19)2.3.x (API 10)
3.2.0 - 3.2.32.3.x (API 10)*4.4.x (API 19)2.3.x (API 10)
3.1.2 - 3.1.32.3.x (API 10)4.3.x (API 18)2.3.x (API 10)
3.1.12.3.x (API 10)4.2.x (API 17)2.3.x (API 10)
3.1.02.2 (API 8)4.2.x (API 17)2.2 (API 8)

2.1.2 - 3.0.2

2.2 (API 8)

4.1.x (API 16)

2.2 (API 8)

2.0 - 2.1.1

How to download games for mac os x. 2.2 (API 8)

4.0.x (API 15)

2.2 (API 8)

1.8.x

2.2 (API 8)

3.x.x (API 11) https://jtsl.over-blog.com/2020/12/houdahgeo-6-0-18.html.

2.2 (API 8)

1.7.x

2.1 (API 7)

3.x.x (API 11)

2.1 (API 7)

Notes

Icon

* If you are building an Android module, you need to have Android SDK 6.0.x (API 23) installed if using Release 6.0.0 and greater. How to torrent adobe premiere pro mac.

** The Titanium SDK does not support the Android 4.4W SDK (API 20), also known as the Android Wear SDK.

Most mobile device manufacturers have been licensed to use Google's enhanced API, which provides support for Maps and other functionality. If this is the case for your target devices, you will need to install the relevant Google packages, listed as Google APIs by Google Inc., Android API x. by the Android SDK Manager tool. In Studio, choose the SDKs with the naming format 'Google APIs x.x' to use the enhanced APIs, or those without the 'Google APIs' prefix otherwise.

Android SDK packages can be installed using the Android SDK Manager tool. See Installing the Android SDK for detailed instructions.

The default Android SDK can be configured using Studio's Preferences, and then selected per-project using the Run Configurations.

Android Native Add-on Module Development on macOS

The Xcode command line tools are required to develop native Android add-on modules on macOS.

See Installing the iOS SDK: Installing Command Line Tools for detailed instructions.

Installation

macOS

Note that the typical filesystem location of this software can be found in the macOS Software Locations section of these guides.

Installing Android SDK Tools on macOS

  1. Point a browser towards Android Studio and SDK tools.
  2. Click Download Android Studio.
  3. Once the .dmg file has downloaded, the Android Studio installer should pop up. Drag the Android Studio icon to the Applications folder.

Windows

Note that the typical filesystem location of this software can be found in the Windows Software Locations section of these guides.

Installing Android SDK Tools on Windows

  1. Point a browser towards Android Studio and SDK tools.
  2. Click Download Android Studio.
  3. Once the .exe file has downloaded, double-clickon the executable file to start the install process.
  4. Click the Next > button in the Android Studio Setup window.
  5. Select the components you wish to install. By default, you should install both Android Studio and Android Virtual Device. Click the Next > button.
  6. Choose the install location and click Next > button.
  7. Click the Install button.
  8. Once installation is complete, click Next > button.
  9. Click the Finish button.
  10. Launch Android Studio so it can download any necessary components for your version of Windows.
  11. Click the Finish button once Android Studio has finished downloading components.

Refer to the Windows Software Locations section, and add the path of the Android SDK Tools directory to your system's PATH.

Then proceed to the Installing Android Packages with Android SDK Manager section.

Installing Android Packages with Android SDK Manager

The Android SDK Tools package that has been installed contains the Android SDK Manager that is used to install the rest of the Android SDK packages.

Mac Android Sdk Download

Launching the Android SDK Manager differs depending on the platform.

  • On macOS, go to Launchpad and click on Android Studio
  • On Windows, double-click on the Android Studio icon. Note: You may get prompted to run as an administrator. If so, from the Windows Start Menu and select Run as administrator. Enter the Administrator password.

In the Android SDK Manager, you will see different versions of the following items listed:

  • Android SDK Tools (mandatory) - includes the Android SDK Manager and Android Virtual Device Manager (android executable)
  • Android SDK Platform Tools (mandatory) - includes Android Debug Bridge, (adb executable)
  • SDK Platform - provides the libraries for building for a specific version of the Android OS that uses the standard Google APIs.
  • Google APIs by Google Inc - provides the libraries for building for a specific version of Android that uses the enhanced Google APIs (includes maps support).
  • System Image - For Android API versions 14 and above, the emulator system images are packaged separately from the SDK Platform package. Three versions of the system images are provided – ARM, Intel x86, and MIPS. The ARM system image is supplied by default in earlier SDK Platform packages, and corresponds to the hardware in most phones.

To install Android SDK on macOS:

  1. Open Android Studio.
  2. Go to Tools > SDK Manager.
  3. Under Appearance & Behavior > System Settings > Android SDK, you will see a list of SDK Platforms to choose from. Select the SDK(s) you wish to use and click OK button.
  4. Android Studio will confirm your selection. Click OK button.
  5. Once the requested components have been installed, click Finish button.

To install Android SDK on Windows:

  1. Open Android Studio.
  2. In the Welcome to Android Studio window, click on Configure > SDK Manager.
  3. Under Appearance & Behavior > System Settings > Android SDK, you will see a list of SDK Platforms to choose from. Select the SDK(s) you wish to use and click OK button.
  4. Android Studio will confirm your selection. Click OK button.
  5. Click the Accept radio button and click the Next button.
  6. Once the requested components have been installed, click Finish button.

The following steps are the normal process to install an Android SDK with Axway Appcelerator Studio (Appc Studio) but due to the bug noted in TISTUD-9035, Studio cannot install Android SDKs at this time.

In Appc Studio, confirm that your Android SDK(s) have been installed:

  1. Launch Axway Appcelerator Studio.
  2. Login using your credentials (if you haven't already).
  3. Go to Axway Appcelerator Studio > Preferences in the menu bar.
  4. In the Preferences window, go to Studio > Platforms > Android.
  5. Click the Install SDKs. button in the General section.
  6. Select the Android SDK(s) you wish to use.
  7. Click the Install button.
  8. Click the Accept button for the Review License window.
  9. In the Progress tab, you should see the status of the Android SDK(s) being downloaded and installed.
  10. Review the installed SDKs in the General section of the Preferences window. You should now see the newly installed Android SDK(s).

Even though Appc Studio not display newly installed Android SDK(s), they are installed and available for use. You can confirm this by creating a new AVD (Android Virtual Device) and see the options to use the newly installed Android SDK(s).

There are two ways to create an AVD to use in Appc Studio: Create the AVD in Appc Studio or create it in Android Studio. Appc Studio should pick up the new AVD automatically if you created a new one via Android Studio.

Android Sdk Path Mac

To create an AVD via Appc Studio:

  1. Open Appc Studio.
  2. In the menu, go to Axway Appcelerator Studio > Preferences.
  3. In the Preferences window, go to Studio > Platforms > Android.
  4. In the Android Preferences section, click on the Create AVDs. button.
  5. Give the AVD a name in the AVD Name field using a-z A-Z 0-9 ._- characters only (no spaces or other special characters).
  6. Select the desired device in the Device field.
  7. Select the Android SDK from the System Image field.
  8. After making your selections, click OK button to build the AVD.

To create an AVD via Android Studio:

  1. Open Android Studio.
  2. In the menu, go to Tools > AVD Manager.
  3. Click the Create Virtual Device. button.
  4. Select the category of virtual device you want to use.
  5. Select the device and click the Next button.
  6. Select the System Image you want to use in the virtual device and click the Next button.
  7. Android Studio will provide a name for you automatically based on the virtual device and system image you selected. Confirm you selections and click the Finish button.

Refer to the Titanium Compatibility Matrix for the latest list of required packages.

Installing x86 Emulator Packages

In the Android SDK Manager, under the SDK Platforms tab, you can find 'Intel x86 Atom' and 'Intel x86 Atom_64' system images. These are 32-bit and 64-bit emulator images of that platform's API Level and will run faster in the emulator compared to the ARM emulator images.

Extra software may be required to take advantage of the x86 emulator – see Configuring Virtual Machine Acceleration in the Android Tools documentation.

Configuring Appcelerator Studio

To use the Android SDK with Appcelerator Studio, the path to the SDK must be set in the Preferences dialog.

  1. Open the Preferences dialog:
    1. On macOS, from the menu bar, select Appcelerator Studio > Preferences.
    2. On Windows, from the menu bar, select Window > Preferences.
  2. In the Preferences dialog, navigate to Studio > Platforms > Android SDK.
  3. Set your Android SDK path. Enter the path to your Android SDK in the Android SDK Home textbox or click the Configure button to navigate to the SDK directory.
  4. Select your default Android SDK. Select a Google APIs item from the Default Android SDK drop-down menu.

Configuring the CLI

To use the Android SDK with the Titanium CLI, the path to the SDK must be set in the Titanium CLI configuration settings. Run the following command and replace /Users/appc/sdk/android-sdk/ with the path to your Android SDK:





broken image