【android开发】ubuntu下使用Eclipse开发android的几个问题
2011-12-19 15:03
507 查看
这段时间刚开始学习linux,安装了个ubuntu10,在这个系统上用Eclipse学习android开发。
1.ubuntu下安装Eclipse:
得下来的Eclipse版本是3.7(Indigo)。
新版本的ubuntu已经很贴心了,
这个步骤没有碰到什么环境配置的问题,如果碰到了可以google下。
2.Android SDK:
http://developer.android.com/sdk/installing.html#troubleshooting
按照这个网页说明,安装Android SDK:
以下页面下载SDK管理工具:
http://developer.android.com/sdk/index.html
下载linux版本,解压缩,运行,选择下载SDK版本。
3.下载Eclipse的ADT插件:
按照这个网址一步步来:http://developer.android.com/sdk/eclipse-adt.html#installing
这里碰到一个问题:可能是最新的16.0.1版本的ADT需要用到Eclipse新版本的某些插件,
因此,需要在Help -> Install New Software... 添加Eclipse的更新下载网址http://download.eclipse.org/releases/indigo
否则ADT将下载不成功。
下载成功后,设置好SDK,重启Eclipse发现adb出错,在StackOverFlow.com里面搜索了一下,找到原因。
发现是因为我系统是64位的,而google提供的adt是32位的。运行以下命令即可解决:
sudo apt-get
install ia32-libs
之后,便可以在敞开了进行android开发了:)
总结:
StackOverFlow是个好网站。
------------------------------------------------
ps:发现以上提到的问题,在Android官网上均有体现,如下--官网资料还是要好好看滴!!
If you need help installing and configuring Java on your development machine, you might find these resources helpful:
https://help.ubuntu.com/community/Java
https://help.ubuntu.com/community/JavaInstallation
Here are the steps to install Java and Eclipse, prior to installing the Android SDK and ADT Plugin.
If you are running a 64-bit distribution on your development machine, you need to install the
Next, install Java:
The Ubuntu package manager does not currently offer an Eclipse 3.3 version for download, so we recommend that you download Eclipse from eclipse.org (http://www.eclipse.org/ downloads/).
A Java or RCP version of Eclipse is recommended.
Follow the steps given in previous sections to install the SDK and the ADT plugin.
1.ubuntu下安装Eclipse:
sudo apt-get install eclipse
得下来的Eclipse版本是3.7(Indigo)。
新版本的ubuntu已经很贴心了,
这个步骤没有碰到什么环境配置的问题,如果碰到了可以google下。
2.Android SDK:
http://developer.android.com/sdk/installing.html#troubleshooting
按照这个网页说明,安装Android SDK:
以下页面下载SDK管理工具:
http://developer.android.com/sdk/index.html
下载linux版本,解压缩,运行,选择下载SDK版本。
3.下载Eclipse的ADT插件:
按照这个网址一步步来:http://developer.android.com/sdk/eclipse-adt.html#installing
这里碰到一个问题:可能是最新的16.0.1版本的ADT需要用到Eclipse新版本的某些插件,
因此,需要在Help -> Install New Software... 添加Eclipse的更新下载网址http://download.eclipse.org/releases/indigo
否则ADT将下载不成功。
下载成功后,设置好SDK,重启Eclipse发现adb出错,在StackOverFlow.com里面搜索了一下,找到原因。
发现是因为我系统是64位的,而google提供的adt是32位的。运行以下命令即可解决:
sudo apt-get
install ia32-libs
之后,便可以在敞开了进行android开发了:)
总结:
StackOverFlow是个好网站。
------------------------------------------------
ps:发现以上提到的问题,在Android官网上均有体现,如下--官网资料还是要好好看滴!!
Troubleshooting
Ubuntu Linux Notes
If you need help installing and configuring Java on your development machine, you might find these resources helpful:https://help.ubuntu.com/community/Java
https://help.ubuntu.com/community/JavaInstallation
Here are the steps to install Java and Eclipse, prior to installing the Android SDK and ADT Plugin.
If you are running a 64-bit distribution on your development machine, you need to install the
ia32-libspackage using
apt-get::
apt-get install ia32-libs
Next, install Java:
apt-get install sun-java6-jdk
The Ubuntu package manager does not currently offer an Eclipse 3.3 version for download, so we recommend that you download Eclipse from eclipse.org (http://www.eclipse.org/ downloads/).
A Java or RCP version of Eclipse is recommended.
Follow the steps given in previous sections to install the SDK and the ADT plugin.
相关文章推荐
- 拿什么拯救:Android Studio 时代 继续使用Eclipse开发Android app时遇到的几个问题以及解决办法
- ubuntu中使用eclipse开发android,logcat显示问题
- 解决Eclipse进行Android开发时logcat不显示问题-使用DDMS
- ubuntu上搭建eclipse下hadoop-2.7.1集群(全分布式)开发环境遇到的几个问题笔记
- ubuntu下搭建Android开发环境-----------------eclipse打不开问题
- Android使用eclipse开发导入源码包相关问题
- win7下eclipse搭建android开发开台遇到的几个问题
- windows下的virtual box中的ubuntu系统,使用 eclipse开发android的环境配置
- 移植windows eclipse下的Android项目到Ubuntu编译环境编译碰到的几个问题
- 解决Eclipse进行Android开发时logcat不显示问题-使用DDMS
- Eclipse中Android开发时使用LogCat 显示想要的特定几个Activity
- [置顶] 解决Eclipse进行Android开发时logcat不显示问题-使用DDMS
- 【1】android底层驱动开发学习及Ubuntu使用问题
- eclipse,android安装使用中出现的几个问题
- android开发使用eclipse遇到的问题
- ubuntu上 使用eclipse搭建stm32开发环境遇到的问题
- Android开发中使用Eclipse创建工程后提示The project cannot be built until build path errors are resolved问题的解决方法
- 【Ubuntu手记】64位Ubuntu11.10下 eclipse配置Android开发环境所遇到的问题
- 关于使用eclipse开发android程序不能运行的问题。
- 解决Eclipse进行Android开发时logcat不显示问题-使用DDMS