Random Tech News

Install Android SDK and create Screenshot in Ubuntu 9.10

Network administrator – If you are an Android developer looking for something new with your Android phone, or just a blogger who wants to create screenshots for your newly purchased Nexus One phone, you just need to install the Android SDK in your device. count yourself. We know that there will be some problems with downloading and installing the SDK just to create screenshots on the phone, but fortunately this can be done easily. In this article, we will show you how to install the Android SDK and create screenshots in Ubuntu 9.10 Karmic.

First, you need to access the Android website and download the SDK. Must choose Linux version.

Extract the downloaded file to the home directory. You will see a folder with the name “android-sdk-linux_86”.

Open the file .bashrc and add File path to the end of the file. In the terminal, type the following command:

gedit ~/.bashrc

Add The line below is at the end of the file:

export PATH=${PATH}:<your_sdk_dir>/tools

Replace by the actual file path for the SDK directory. If you have extracted the file to your home directory, then it will take the form / home / your_username / android_sdk_linux_86 /.

Next you need to install Ecplise. For Ubuntu 9.10 users, the latest version of Eclipse (Eclipse Classic 3.5.1) is included in the repository, so you can easily install it via the following command:

sudo apt-get install eclipse

When the installation is completed, open Eclipse (Application -> Programming -> Eclipse)
On the menubar, click Help -> Install new software


At school Work with, input http://download.eclipse.org/releases/galileo and click Add.


You will notice that there are several components available for the installation. Ignore them.

Next, delete the entry in the field Work With and added https://dl-ssl.google.com/android/eclipse/. Click Add.


Check all the entries in the bottom panel and click next to install.

When the installation is done, restart Eclipse.

Into the Windows -> Preferences. On the left, select an Android entry.

Enter the Android file path in the SDK location field. Click Apply and OK, got it.


That’s all work. You must now install and set up the Android SDK in Ubuntu. To create a new Android project, go to File -> New -> Project and select the Android project in the Wizard window.


Create screenshots for Android phones

First, enable USB debugging mode in Settings -> Applications-> Development


Connect your Android phone to the computer via a USB cable.

Close Eclipse, navigate to your Android SDK folder. Go to the directory Tools and open the file ddms.bat. When prompted, select RUN.


Select your phone entry.


Into the Device -> Screen Capture.

android-screenshot selection


That’s all you need to do to create screenshots for your Android phone.


Leave a Reply

Your email address will not be published. Required fields are marked *