Linux平台下构建android环境
来源:互联网 发布:c盘数据备份 编辑:程序博客网 时间:2024/06/01 22:38
操作系统:Ubuntu 11.04 Desktop x86
安装SDK
Android SDK的官方网址是 http://developer.android.com/ ,由于国内网络环境的限制,我们很难直接使用SDK提供的管理工具下载各版本的API,因此将采用手工下载的方式。
登录 http://developer.android.com/sdk/index.html ,下载android-sdk_r13-linux_x86.tgz,解压到某个文件夹中,如~/android-sdk/。
使用迅雷软件下载以下安装包:
http://dl-ssl.google.com/android/repository/platform-tools_r07-linux.zip
http://dl-ssl.google.com/android/repository/android-2.2_r03-linux.zip
http://dl-ssl.google.com/android/repository/google_apis-8_r02.zip
将platform-tools_r07-linux.zip下的文件解压到~/android-sdk/platform-tools/目录下(不存在则新建,不作为子目录)。
将android-2.2_r03-linux.zip解压到~/android-sdk/platforms/目录下(作为子目录,因为Android SDK可以多版本并存)。
将google_apis-8_r02.zip解压到~/android-sdk/add-ons/目录下(作为子目录)。
运行~/android-sdk/tools/android,点击Installed packages,即可看到已安装的软件包。
安装Eclipse
安装OpenJDK
sudo apt-get install openjdk-6-jdk
下载Eclipse IDE for Java Developers,解压到某个目录,如~/eclipse-adt,运行~/eclipse-adt/eclipse即可打开。
安装ADT
打开Eclipse,点击Help--Install New Software菜单项,点击Add按钮,输入ADT插件的更新源:
Name: ADT
Location: http://dl-ssl.google.com/android/eclipse/
选择Android DDMS和Android Development Tools两项,继续安装。
重启Eclipse后,点击Window--Preferences菜单项,选择Android,将SDK Location指向刚才的安装路径,如~/android-sdk。点击Apply,可以看到生效的项目。
安装Subversive
安装SVN
sudo apt-get install subversion
安装SVN的JavaHL包
sudo apt-get install libsvn-java
打开Eclipse,点击Help--Eclipse Marketplace菜单项,搜索Subversive,安装Subversive - SVN Team Provider项。
- Linux平台下构建android环境
- VISTA平台下DirectX开发环境构建
- Linux下配置Jenkins+Android自动化构建环境(二)
- Windows 平台下构建 Android 开发环境( Android SDK 下载及安装)
- linux平台下构建mencoder的视频转换到FLV的环境
- 在Linux平台的Eclipse下搭建Android环境
- linux下android开发环境平台搭建与问题解决
- Linux平台下搭建OgreKit on Android开发环境
- 【android开发】如何在Linux平台下安装JDK环境
- 在Linux平台的Eclipse下搭建Android环境
- 《Android开发环境》Linux平台的Eclipse下搭建Android环境
- 构建linux下IDE环境--Eclipse篇
- 构建linux下IDE环境--Eclipse篇
- 构建linux下IDE环境--Eclipse篇
- 构建Linux下IDE环境--Eclipse篇
- 构建Linux下IDE环境--Eclipse篇
- 构建Linux下IDE环境--Eclipse篇
- 构建Linux下IDE环境--Eclipse篇
- (转)【Android游戏开发十五】关于Android 游戏开发中 OnTouchEvent() 触屏事件的性能优化笔记!
- point pixel DPI
- 喷水装置(一)
- Migrate database by cold backup method
- 提高web性能之--高效使用HTML标签和CSS样式
- Linux平台下构建android环境
- c++代理模式
- Java内存模型(下)
- android 可以移动的悬浮框 一
- 软件测试面试题及解析(二) .
- C# winform 弹出输入框
- Android APK反编译详解(附图)
- hql语句不能用于插入数据
- 复数类加减法运算重载---成员函数形式