Ubuntu下android SDK 的安装方法
来源:互联网 发布:中国在中东知乎 编辑:程序博客网 时间:2024/05/17 02:24
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 clickthis 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.
- Ubuntu下android SDK 的安装方法
- ubuntu下eclipse Android ADT中SDK Manager中安装SDK失败的方法
- Ubuntu 下Android sdk安装
- ubuntu下安装Android sdk
- Ubuntu下安装Android SDK开发需要的JDK1.6
- ubuntu系统安装安卓模拟器(Android SDK)的方法
- Ubuntu安装Android的SDK
- 如何在Ubuntu下安装android sdk
- Ubuntu下安装配置Android SDK
- ubuntu下不需要翻墙来安装android sdk
- Ubuntu下安装配置Android SDK
- Ubuntu下安装配置Android SDK
- ubuntu下eclipse android SDK安装
- Ubuntu下安装配置Android SDK
- Ubuntu下安装配置Android SDK
- Ubuntu下 安装 Android SDK方法(包含Failed to fetch URL https://dl-ssl.google.com/错误的解决方法)
- Windows下离线安装Android SDK的简单方法
- ubuntu下安装SDK
- hdu1339-A Simple Task
- enum和typedef分析
- struct和union分析
- const和volatile分析
- 图之Dijkstra算法
- Ubuntu下android SDK 的安装方法
- U盘误删除文件?迅龙数据恢复软件轻松找回数据
- 如何基于FFMPEG和SDL写一个少于1000行代码的视频播放器
- EclipseRCP 启动遇到org.osgi.framework.BundleException: The activator for bundle s invalid
- linux scp使用详解
- goto,void,extern,sizeof分析
- 学会科学的制定项目质量计划工作的输人和输出
- Using apt-file to track down build errors(fatal error: X11/Intrinsic.h: No such file or directory)
- 杭电 1312 Red and Black