Download and Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
2013-06-05 13:36
453 查看
Android SDK is a development environment for the Android mobile operating system which allows you to write applications for Android devices or gain elevated privileges on android devices with the help of third party software.
This brief tutorial is going to show you how to download and install it in Ubuntu 12.04 if you haven’t already done so. To install it, you first need to install Java JDK package or use the openJDK Java alternative that comes with Ubuntu.
In this tutorial, I’m going to be using the openJDK version of Java. To install Oracle Java version, then
read this post first.
Objectives:
Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
Enjoy!
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to install OpenJDK.
Next, download AndroidSDK package by running the commands below. At the time of this writing, the current version was
r20. Or click
this link to download the .tgz archive file.
After downloading, run the commands below to extract the downloaded file.
After extracting the package, run the command below to change into the tools directory.
Finally, run the commands below to begin the installation.
Install Android updates if there are any available.
After updating, run the commands below to include AndroidSDK in your path environment.
Then add these lines at the very top of the file and save it.
Log out and log back in, then type android on the command line to launch the software.
Build your own phone.
转自:http://www.liberiangeek.net/2012/07/download-and-install-androidsdk-in-ubuntu-12-04-precise-pangolin/
This brief tutorial is going to show you how to download and install it in Ubuntu 12.04 if you haven’t already done so. To install it, you first need to install Java JDK package or use the openJDK Java alternative that comes with Ubuntu.
In this tutorial, I’m going to be using the openJDK version of Java. To install Oracle Java version, then
read this post first.
Objectives:
Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
Enjoy!
To get started, press Ctrl – Alt – T on your keyboard to open the terminal. When it opens, run the commands below to install OpenJDK.
sudo apt-get install openjdk-6-jre openjdk-6-jdk icedtea6-plugin
Next, download AndroidSDK package by running the commands below. At the time of this writing, the current version was
r20. Or click
this link to download the .tgz archive file.
wget http://dl.google.com/android/android-sdk_r20-linux.tgz
After downloading, run the commands below to extract the downloaded file.
tar -xvzf android-sdk_r20-linux.tgz
After extracting the package, run the command below to change into the tools directory.
cd ~/android-sdk-linux/tools
Finally, run the commands below to begin the installation.
./android
Install Android updates if there are any available.
After updating, run the commands below to include AndroidSDK in your path environment.
gedit ~/.bashrc
Then add these lines at the very top of the file and save it.
export PATH=${PATH}:~/android-sdk-linux/tools export PATH=${PATH}:~/android-sdk-linux/platform-tools
Log out and log back in, then type android on the command line to launch the software.
android avd
Build your own phone.
转自:http://www.liberiangeek.net/2012/07/download-and-install-androidsdk-in-ubuntu-12-04-precise-pangolin/
相关文章推荐
- Download and Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
- ubuntu_Install Android SDK on Ubuntu 12.04 LTS
- Ubuntu 12.04 Android SDK Failed to create sdcard in the AVD folder.
- Install Android SDK in Ubuntu
- android NDK install and config in ubuntu
- How to install Android SDK in Ubuntu System
- Install ADB And Fastboot Android Tools In Ubuntu Via PPA
- Android 2.3.4 download and build in ubuntu 11.10
- How to install Android SDK and play with Android 2.0 in the emulator
- 总结一下,Install Android SDK in Ubuntu
- To Install Android Studio in Ubuntu 16.04 and Ubuntu 17.04
- Install kinect on ubuntu and run kinect in ros
- Install Nginx with PHP5 and MySQL (LEMP) in Ubuntu 13.10 Server
- Install and run Android in Androidx86 emulator - This adb server's $ADB_VENDOR_KEYS is not set
- Install the Arduino IDE in Ubuntu 12.04
- Ubuntu 12.04编译android 4.0.4 SDK错误解决
- Download Android Studio and SDK Tools
- open android sdk manager and avd manager in Mac
- How to Install Python 3.3 on Ubuntu 13.04, 12.10 and 12.04
- Install Android, Cordova, and Ionic Framework in U