This tutorial will show you how to install and set up React Native (with the React Native CLI) for Android development, on macOS. Note: If you already set up your Mac to run React Native on the iOS simulator (via Xcode), as shown in this tutorial then you already installed Node.js & Watchman and can skip that step and go right to the install Java Development Kit step. Set ANDROIDHOME environment variable in mac. Ask Question Asked 5 years, 10 months ago. Active 2 months ago. Viewed 136k times 72. I am new in developing native app using Salesforce SDK. I tried to create android project from command line using forcedroid tool but there is problem in setting environment variable named ANDROIDHOME.
- Mac Homebrew Android Sdk
- Mac Android Java_home
- Mac Android Studio Java_home
- Mac Android_ndk_home
- Mac Appium Android_home
- Mac Android Studio Gradle Home
In this article. The topics in this section explain how to install and configure Xamarin.Android to work with Visual Studio on Windows and macOS, how to use the Android SDK Manager to download and install Android SDK tools and components that are required for building and testing your app, how to configure the Android emulator for debugging, and how to connect a physical Android device to your. ANDROIDHOME, which also points to the SDK installation directory, is deprecated. If you continue to use it, the following rules apply: If ANDROIDHOME is defined and contains a valid SDK installation, its value is used instead of the value in ANDROIDSDKROOT. If ANDROIDHOME is not defined, the value in ANDROIDSDKROOT is used.
Mac Homebrew Android Sdk
Failed to find 'ANDROID_HOME' environment variable (7)
I am trying to build an ionic-android project and i have android sdk installed.
The name of my project is myApp.I have successfully added android platform to myApp. But when i tries to build the project
result is
see the ANDROID_HOME and PATH variable
I have seen almost the same kind of questions on stack overflow, but none works for me. Is there anything wrong with my android-sdk configuration? How can i build this project?
April 11, 2019
None of the answers above solved my problem so I wanted to include a current solution (as of April 2019) for people using Ubuntu 18.04. This is how I solved the question above...
- I installed the Android SDK from the website, and put it in this folder:
/usr/lib/Android/
Search for where the SDK is installed and the version. In my case it was here:
/usr/lib/Android/Sdk/build-tools/28.0.3
Note: that I am using version 28.0.3, your version may differ.
Add
ANDROID_HOME
to the environment path. To do this, open /etc/environment with a text editor:sudo nano /etc/environment
Add a line for
ANDROID_HOME
for your specific version and path. In my case it was:ANDROID_HOME='/usr/lib/Android/Sdk/build-tools/28.0.3'
Finally, source the updated environment with:
source /etc/environment
Confirm this by trying:
echo $ANDROID_HOME
in the terminal. You should get the path of your newly created variable.One additionally note about sourcing, I did have to restart my computer for the VScode terminal to recognize my changes. After the restart, the environment was set and I haven't had any issues since.
Snapchat is increasing these days as it has become a fun way to interact with your friends quickly. As the snap that you send vanishes after 24 hours, one can share useless photos and videos that you cannot share on other social media platforms without leaving a lot of digital baggage. In this article, we’ll tell you how to use Snapchat on Mac. But first, let us know more about Snapchat.
Contents
What is Snapchat?
This question we have already answered in the above paragraph. we’ll like to add more points to it. Snapchat has a daily user of about 210 million and is also used by many celebrities. It is more prevalent among teens as it does not leave any trace after 24 hours.
The co-founder of Snapchat Evan Spiegel has also said that it is a solution to social media’s stress where they have to be worried about the longevity of the presence. Let me share some of the new stats related to Snapchat:
- Snapchat has reached 90% of the 13-24 years old in the US as per march 2019.
- On average, every user spends about 30 min daily on Snapchat.
- By 2019 its revenue has also increased quite a lot, painting a positive future of the app.
- The Snapchat mascot – a cute ghost – is nicknamed Ghostface Chilla after a famous rapper Ghostface Killa.
The point is it doesn’t matter that you are a new user or a long-timer snap chatter. If you are looking for information about how to get Snapchat on Mac, you have come to the right place.
How to Get Snapchat on Mac?
Now the next question in your mind can be, how can we download Snapchat on Mac? Unfortunately, there is no official Snapchat for Mac. The founder has deliberately kept this app just for your phone to keep its essence.
You don’t have to edit your videos or photos. You have to click whatever you want then send it to your friends to remain connected then forget about it.
But there can be some reason why you still want Snapchat on Mac. Maybe you find your phone a little distracting because of all other apps but still want to remain connected with your friend circle.
There may be a possibility that you are a businessman and want to promote your business through Snapchat, for this phone will be a little limiting. Maybe your smartphone is currently damage/ broken, and you urgently want to send a snap to your friend.
Whatever may be why you will be happy to know that certain tricks can be used to download snapchat on macbook.
Get BlueStacks for Mac
BlueStacks is an app available for Mac users that help you convert your Mac into android even though only for one window. This means that any app available on android will now be available on your Mac. Now, you can easily download Snapchat.
1. Download BlueStacks On Your Mac
Step 1: Go to bluestacks.com and hit on download BlueStacks
Step 2: Run the .dmg installer from your download folder.
Next Step 3: Now, follow the prompts to enable the necessary access required for download.
Now the next step is to link it with your Google account.
As BlueStacks is an android app, you need to have a google account to download it from google play store. The same goes for Snapchat.
When you launch BlueStacks for the first time, it will eventually lead you to the sign-up process:
Mac Android Java_home
Step 1: Click on the google play store icon.
Step 2: Now sign in your account or create a new one you don’t have already.
Once the sign-in has been done correctly now in front of you is a fully functional android on your Mac itself. The best part remains that as your computer is more powerful than an average android, the apps will also run even faster and in high definition.
2. How to Download Snapchat?
If you have already used an android phone before, this will not be a big task for you.
Step 1: Click on the google play store icon (this is like an app store for android devices)
Mac Android Studio Java_home
Step 2: Type Snapchat on the search bar and hit the search button.
Mac Android_ndk_home
Next Step 3: Choose Snapchat from the list and then download and install it.
Mac Appium Android_home
Once Snapchat is installed, you can start using it from the Android home screen in BlueStacks. Snapchat will even detect your webcam. So, now you can enjoy sharing weird photos and videos with your friends.
Mac Android Studio Gradle Home
Eleggible’s Final Words
So, to conclude, we would like to say that Snapchat can is an android app, which is not Mac, but as you know, there are loopholes so, Snapchat can be used on Mac, but only when you have BlueStacks without it it’s still not possible.
In the end, we would also like to tell you one more useful and interesting thing that if you want to use Instagram on Mac flume is the best way to do this. You can get a complete Instagram experience on your Mac itself.