Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK版本 #29

Open
wangwangwanwg opened this issue Sep 21, 2023 · 2 comments
Open

JDK版本 #29

wangwangwanwg opened this issue Sep 21, 2023 · 2 comments

Comments

@wangwangwanwg
Copy link

小白,向请教一下使用的哪个版本的jdk了?或者遇到一个新项目怎么来确定jdk的版本?

@youlookwhat
Copy link
Owner

我是一般使用JDK1.8

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

不过这个比较久了,你可以先用这个,等哪些sdk不支持了就用最新也可以。好像最新版本的android studio 也要用高点的jdk。具体看你了

@wangwangwanwg
Copy link
Author

好的,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants