Saturday, March 8, 2014

How to Run Android on Ubuntu



Install the Software

1. Right-click on the desktop and choose 'Open in Terminal' to open a terminal window and access a command prompt.

2. Type the command 'sudo apt-get install sun-java6-bin' to install the Java packages and Eclipse software development packages.

3. Download the Linux version of the Android SDK from developer.android.com.

4. Type the command 'tar -xvzf android-sdk_

-linux_x86.tgz' to extract the contents of the downloaded file. Replace '

' with the version number of the SDK that you downloaded.

Configure the Emulator

5. Type the command 'cd android-sdk-linux-x86/tools/' to navigate into the Android 'tools' directory.

6. Type the command './android' to start the Android SDK and AVD Manager.

7. Click on the 'Available Packages' option on the left side of the window.

8. Install the available packages that you want.

9. Click on the 'Virtual Devices' option on the left side of the window.

10. Set the virtual device options that you prefer.

11. Press the 'Create AVD' button to create the virtual device.

12. Click on the virtual device you created from the list in the Android SDK and AVD Manager window.

13. Select on the 'Start' button to start the Android emulator.

No comments:

Post a Comment