java 用于 Android 应用程序开发的 JDK

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11066998/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-31 03:39:33  来源:igfitidea点击:

JDK for android app development

javaandroid

提问by Johan

Im trying to get started with app development. Isnt this the corrent JDK if i want to use eclipse + android plugin?

我正在尝试开始应用程序开发。如果我想使用 eclipse + android 插件,这不是正确的 JDK 吗?

Java SE Development Kit 7u5: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

Java SE 开发工具包 7u5:http: //www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html

When i try to install the android SDK tools it tells me that i dont have the correct JDK installed.

当我尝试安装 android SDK 工具时,它告诉我没有安装正确的 JDK。

And yes, ive tried this already: Android SDK installation doesn't find JDK

是的,我已经试过了:Android SDK 安装没有找到 JDK

Thanks

谢谢

回答by CommonsWare

Java 7 is not officially supported by the Android SDK at this time. Please use the latest version of the Java 6 JDK.

目前,Android SDK 不正式支持 Java 7。请使用最新版本的 Java 6 JDK。

UPDATE: Java 7 is now supported.

更新:现在支持 Java 7。