• +91 9806724185,+91 9685733903
  • +91 9806724185

Setting up ANDROID_HOME Environment Variable for React Native in Ubuntu

Way to Configure the ANDROID_HOME Environment Variable for React Native :

The React Native tools require some environment variables to be set up in order to build apps with native code.

Original Code ::Add the following lines to your $HOME/.bash_profile or $HOME/.bashrc config file:

Resolve Code :: Add the following line $HOME/ .profile in the Ubuntu Terminal.


1.bash_profile is specific to bash. If you're using another shell, you will need to edit the appropriate shell-specific config file.

2. bash_profile not works for some environment variables, we have did lot of research and finds that when we replace bash_profile with .profile , It will works.

Type source $HOME/.profile to load the config into your current shell. Verify that ANDROID_HOME has been added to your path by running echo

Please make sure you use the correct Android SDK path. You can find the actual location of the SDK in the Android Studio "Preferences" dialog, under Appearance & BehaviorSystem SettingsAndroid SDK.

Related Posts

Technical Solutions

Google Maps v/s Bing Maps: Comparing two Giants Corporate

Everyone wants to reach his destination, Its Only possible through the Mapping system. Home to the Meeting, Mapping system coverage is everywhere. Recently google maps discontinue his free API Support and Companies have no idea Read more…