Download for macOS. There are several options for installing Git on macOS. Note that any non-source distributions are provided by third parties, and may not be up to date with the latest source release. Install homebrew if you don't already have it, then: $ brew install git. Apple ships a binary package of Git with Xcode. I am using Android Studio 2.3(Latest). Till yesterday it was all good and working, today emulator is not connecting to the data network. I couldn't find any solution working so far. My Mac is running on Mac OS Sierra, connected to WiFi with no proxy. The Android SDK for Mac includes: An emulator. Required libraries. Sample source code. Tutorials for the Android OS. Relevant documentation for the Android application program interfaces (APIs). Overall, the Android SDK for Mac will give you a fast.
- Mac Os Sierra Download Pc
- Download Android Studio For Mac Os Sierra Mac
- Download Android Studio For Mac Os Sierra 10.12
- Android Studio For Mac
- Download Os X Sierra
- In this tutorial, you will learn, how to setup Android Studio on Mac OS Sierra and how to create a simple Ionic 2 project. And how to generate the Android APK file.
- Follow these steps to install Android Studio on macOS: Download the Android Studio DMG for Mac. Download the DMG for Mac. Open the downloaded DMG.
Mac Os Sierra Download Pc
In this tutorial, you will learn, how to setup Android Studio on Mac OS Sierra and how to create a simple Ionic 2 project. And how to generate the Android APK file.
Prerequisite
1. Java
2. Android Studio
You must first install Java before installing the Android Studio.
Install Java
Download Java 1.8 using the below link
Download the dmg file and double click to install the Java. Once you finished the installation, go to terminal and type
The above two command will return the installed Java version. If the above command is not working, then the Java is not installed properly or Java is not configured in the PATH. However, most of the times it won't fail.
Install Android Studio
Download the Android studio using the below link
It is also dmg file. Double click and finish the installation.
Add Android Studio Path
After installing Android Studio, you must include it in the PATH. Execute the below command in the terminal.
Update Android Studio SDK
Open Android Studio and click SDK manager
Install the latest SDK tools like 5,6,7 versions. It will take some time depend on your internet connection.
Create Ionic 2 Project
You need the Ionic framework, before creating the Ionic 2 project. If you have not installed Ionic Framework, then visit the below link to learn, how to install the Ionic framework.
Create a new Ionic 2 project using
After creating Ionic 2 project, add Android platform to the Ionic project using
Then generate APK using the below command
After generating the APK successfully, the terminal will display the APK generated location.
That's all. You were done.
Please note. Now you can install the APK in your Android phone by enabling the Install from Unknown Source in settings. However You are not able to publish this APK to Google Play store. To publish to the Google Play Store, you need to do some extra work. Mac lipstick anything once. I write a separate post soon for how to publish your APK to the Google Play Store using Ionic 2 Framework.
While generating the APK in Mac OS Sierra, sometimes you will face the below error message
Error: Could not find Gradle wrapper within Android SDK. Might need to update your Android SDK - Android
If you encounter that error, then follow this solution.
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
Select the Installer Icon:
To install Android Studio on your Mac, proceed as follows:
- Launch the Android Studio DMG file.
- Drag and drop Android Studio into the Applications folder, then launch Android Studio.
- Select whether you want to import previous Android Studio settings, then click OK.
- 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.
On the Verify Settings window, click Finish.
Download Android Studio For Mac Os Sierra Mac
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:
Wait until all components are installed.
Setup the ANDROID_HOME system variable
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.
Download Android Studio For Mac Os Sierra 10.12
Open the Terminal app and type the following commands:
In the Text Editor, add the following line
Android Studio For Mac
You should have a screen similar to the following screenshot:
Download Os X Sierra
To save the .profile file, type CTRL + X
, then type Y
followed by the ENTER
key.
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.