- Can You Download Android Studio On Mac
- Android Studio Versions
- Download Android Studio For Mac Catalina
- Download Android Studio 3.6.3 For Mac
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.
In addition to running Android apps on a Mac-turned-Chromebook or in the Chrome Web Browser, there’s actually a way to run a pseudo-Android device on your Mac. BlueStacks 2 is a free Android emulator that runs on macOS and Windows, so no matter what kind of personal computer you have, you can try out Android apps. The latest version of Android Studio is 4.1 on Mac Informer. It is a perfect match for the Developer Tools category. The app is developed by Google and its user rating is 5 out of 5. Android Studio is a new IDE for the Android operating system. Launched by Google, it offers new tools for developing apps and is a good alternative to Eclipse, currently the most popular IDE. I can't seem to download Android Studio at all. I go to the official download page of AS, but nothing happens. I get no Pop-ups or nothing, and my internet connection is fine.
2. Android Studio
Press the green “download Android Studio” button. Read the terms and conditions in the window that opens, check the box below, and click Download. When the Android Studio package finishes downloading, go to the file path and double click on the.exe file to run it. A security warning may appear, go ahead.
You must first install Java before installing the Android Studio.
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.
Can You Download Android Studio On Mac
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. 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.
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
Android Studio Versions
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
You should have a screen similar to the following screenshot:
To save the .profile file, type
CTRL + X, then type
Y followed by the
Once done, quit the Terminal window, reopen a new one and type the following command to check if the system variable has been persisted:
Download Android Studio For Mac Catalina
You should have a non empty response.