I&QUOT可以;使用" Java的8 Android目前的发展? [英] Can I "use" Java 8 with Android Development now?

查看:174
本文介绍了I&QUOT可以;使用" Java的8 Android目前的发展?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在有安装了Java JDK 7。它已经这样了一段时间。然而,最近,我的教授是指示类卸载的Java JDK 7和安装Java JDK 8而是能够在功课,这样的工作。

I currently have Java 7 JDK installed. It's been like that for awhile. However, recently, my professor is instructing the class to uninstall Java JDK 7 and install Java JDK 8 instead to be able to work on homework and such.

我一直在使用Java JDK 7编写,并没有任何问题,部署的Andr​​oid应用程序,所以我想,如果它的安全,使升级现在JDK 8?我假设我不会需要在我的Andr​​oid开发任何Java 8个具体的方法或函数。所以,如果我从远离,将我的Andr​​oid开发在所有受影响?

I've been using Java JDK 7 to write and deploy Android apps without any problems so I'm wondering if it's safe to make the upgrade now the JDK 8? I'm assuming that I won't be needing any Java 8 specific methods or functions in my Android development. So if I stay away from that, will my Android development be at all affected?

在一个侧面说明,我一直没能找到指出的Java JDK 8是否安全与否或如何使之安全的任何正式文件。无论哪种方式,我将不得不升级到Java 8推出...

On a side note, I haven't been able to find any official documentation that states whether or not Java JDK 8 is safe or not or how to make it safe. Either way, I'm going to have to upgrade to Java 8 soon...

推荐答案

如果您已经使用Java 7部署Android应用则是确定的,到现在为止,你还没有使用任何Java 8功能,所以我不'吨看看它是怎么回事。

If you've been using Java 7 to deploy Android apps then it's certain, up to this point, you haven't used any Java 8 features so I don't see how it would matter.

请按照你的教练的指示,当你做了学校的分配简单地选择在项目结构的JDK或语言级别。

Follow your instructor's directions and when you do an assignment for school simply select either the JDK or Language Level in the Project Structure.

CTRL + ALT + S ,选择项目

您可以默认到Java 8 SDK,但限制到Java 7的功能,为您的Andr​​oid应用。或者,你可以设置你的作业项目的Java 8 SDK。

You can default to the Java 8 SDK but limit it to Java 7's features for your Android apps. Or you can simply set your homework projects to the Java 8 SDK.

在这里肢体假设Android的工作室走出去的IntelliJ包含的核心设置。

这篇关于I&QUOT可以;使用" Java的8 Android目前的发展?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆