Skip to main content

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.

Comments

Popular posts from this blog

IPAD and Other Mobile Device Emulators

At present, Each Mobile device has got its own emulators. Some useful IPAD emulators that help application developers to build device specific applications: A List is given below: AIR IPAD Pre requisite : Adobe AIR Remark:  Working smoothly.. Some minor problems have been discovered like low browsing speed, screen flickering etc. JQuery mobile plugin is not working It is still in its ALFA stage Link : http://bit.ly/dtFX1S To test your web app just copy it on to the Application root folder. iOS SDK Current Version : 4 http://developer.apple.com/ipad/sdk/ iOS SDK comes with builtin emulators, this helps developers to test their application before implementation ONLINE EMULATORS Some useful online emulators IPAD Peek:   http://ipadpeek.com/ http://www.ipad-emulator.com/ IPhone Tester:  http://iphonetester.com/ Opera Mini - Demo:  http://www.opera.com/mobile/demo/ T-Mobile Emulator:  http://tmobile.modeaondemand.com/htc/g1/ ...

Download YouTube Videos

Youtube converters are now taking attention of Internet users...Earlier it was very difficult to convert or download a youtube file to our disk. But now, you can download a file in formats like AVI, MPG, MP4, WMV,3gp(Mobile). You can convert either by using online application(such as youtubeconverter ) or by downloading an application software. You can use free softwares like YoutubeConverter that supports fast conversion. Some online applications supports mp3 formats as well. Try now....and feel the freedom!!!

Configuring Sublime to run in command line for Mac PC

On March 2017, I migrated to 2016 model Macbook Pro and now I am on my way to configure all the web development tools which was using before on Linux PC. Installation of most of the tools are pretty straight forward compared to Linux. On most of the occasions we don't even need to run any commands during installation process. By the way, my mac os version is Sierra (10.12)  I installed latest version of Sublime Text(version 3, build #3126). When I started to do actual development, I encountered this issue. From terminal I tried to run " subl . " . But I received an error saying command not found .   A one line terminal command could resolve this issue: ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl Here we are linking /usr/local/bin/subl with sublime executable command. So later when we run subl . it will open Sublime Text IDE from current working directory. If you again encounter any issue, then you may nee...