免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 901 | 回复: 0
打印 上一主题 下一主题

Android开发环境相关 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-23 03:35 |只看该作者 |倒序浏览
一、关于jdk
1、目前可用的是 jdk6。目前的 android 2.3 和 3.0 都可以利用这个来开发。
2、网上的教程中,关于 android 2.2 都是和 jdk 5 搭配创建开发环境的。
3、android + eclipse 开发,目前对jdk7的支持不好,如果使用jdk7会导致很多问题。参考:
     http://www.oschina.net/question/12_24901
4、手动安装jdk的两篇较好的文章:
     http://www.linuxidc.com/Linux/2008-04/12160.htm
     http://blog.csdn.net/java3344520/article/details/6176243
========================================
关于用openjdk取代jdk来作为android sdk开发,在google的groups中有如下讨论:

From: Javi <Javierjc1...@gmail.com>
Date: Thu, 23 Apr 2009 09:54:36 -0700 (PDT)
Local: Fri, Apr 24 2009 12:54 am
Subject: Android and OpenJDK
Hello,

Is it possible to use the OpenJDK instead the Sun closed jre to
develop android applications?
What are your experiences?



From: Sean Hodges <seanhodge...@googlemail.com>
Date: Mon, 27 Apr 2009 11:28:13 +0100
Local: Mon, Apr 27 2009 6:28 pm
Subject: Re: [android-beginners] Android and OpenJDK
  I use OpenJDK 6 in Ubuntu, I've had no problems so far.

Obviously the Android platform only officially supports the Sun
implementation (http://developer.android.com/sdk/1.1_r1/requirements.html),
so if you encounter unusual compilation problems it pays to have the
Sun JDK available somewhere just to rule out JDK issues.


From: Jose Martinez <jams...@gmail.com>
Date: Mon, 27 Apr 2009 05:46:40 -0500
Local: Mon, Apr 27 2009 6:46 pm
Subject: Re: [android-beginners] Re: Android and OpenJDK

Hi,

Of course you can. I only use open-jdk for my Java development and I don't
have any problem at all. Try it without a doubt.

=============================================


您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP