• +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 ReactNative :

The ReactNative 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

Steps to Improve Performance of Node Servers

  In the past, Node.js Development was often not an option when building applications that require CPU intensive computation. This is due to its non-blocking, event-driven I/O architecture. With the advent of thread workers in Read more…

Technical Solutions

Get Benefits with Angularjs and React Combination

  If you’re a JavaScript developer and know a little bit about the current state of JS development, then you’re probably well aware that there seems to be a new JS framework popping up every Read more…

Technical Solutions

Top 5 Risks of Utilizing Outdated Technology for Websites

Modern Websites and Apps need to be implemented on new technologies because of various reasons. In current days, lots of technologies are outdated which are not providing quality services in this competitive world. You have Read more…