Download and Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
来源:互联网 发布:seo关键字排名查询 编辑:程序博客网 时间:2024/04/28 23:17
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, thenread 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 wasr20. 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)
- Download and Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
- Install Oracle Java JDK 7 in Ubuntu 12.04 (Precise Pangolin)
- Install Wireshark in Ubuntu 12.04 LTS Precise Pangolin 64bit
- Install Adobe Air on 64-bit Ubuntu 12.04 Precise Pangolin
- How to install xrdp on Ubuntu 12.04 Precise Pangolin
- Resize Unity 2D Launcher in Ubuntu 12.04 (Precise Pangolin)
- WSGI using uWSGI and nginx on Ubuntu 12.04 (Precise Pangolin)
- Ubuntu 12.04 ("Precise Pangolin") 安装 OpenStack Essex
- Redis on Ubuntu 12.04 (Precise Pangolin)
- 2.4Ubuntu 12.04 LTS (Precise Pangolin)
- How to install Aptana Studio 3 on Ubuntu 12.04 LTS (Precise Pangolin)
- How to Install Ruby on Rails on Ubuntu 12.04 LTS (Precise Pangolin) with RVM
- HOWTO install Oracle 11g on Ubuntu Linux 12.04 (Precise Pangolin) 64bits
- HOWTO install Oracle 11g on Ubuntu Linux 12.04 (Precise Pangolin) 64bits
- How to install/setup latest version of PHP 5.5 on Ubuntu 12.04 LTS (Precise Pangolin)
- HOWTO install Oracle 11g on Ubuntu Linux 12.04 (Precise Pangolin) 64bits
- Linux find command (Under Ubuntu 12.04 Precise Pangolin)
- 【Java】定时任务的几种实现方式
- 用C处理大数相加问题
- hdu 2585 Hotel 很好的递归模拟题
- telnet退出命令
- Hibernate总结
- Download and Install AndroidSDK in Ubuntu 12.04 (Precise Pangolin)
- Gerrit介绍 .
- wince编译过程
- 粮食连续九年增产值得怀疑
- Android与Javascript交互示例(二)
- Java NIO API详解
- 修改apache默认端口
- 线性筛选素数模板
- windows mobile 键盘钩子 屏蔽按键