Skip to main content

Posts

Showing posts from 2014

Setting Android Environment Variables in Ubuntu Linux

Recently I moved to Ubuntu OpenSource Platoform. While setting my development environment I had to set up environment variables there. I installed most of the packages such as phonegap jdk etc by either using apt or npm package managers. But In the case of android bundle, I just downloaded it from android site and extracted to a location. In order to set up environment variables, I did the following : 1. In terminal type the following command : gksudo gedit ~/.bashrc  2. Type your password. This will open the text editor.  3. In the file opened, type the following, # Android Path export PATH=${PATH}:~/android-sdk-linux/tools export PATH=${PATH}:~/android-sdk-linux/platform-tools  4. Save. The path you enter should be the absolute path to android_sdk's tools and platform-tools folder This helps me to run android commands such as Adb, android etc.