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

Issue with the version of jdk supporting Gradle wrapper #72

Open
Mohitphulera opened this issue Dec 29, 2017 · 2 comments
Open

Issue with the version of jdk supporting Gradle wrapper #72

Mohitphulera opened this issue Dec 29, 2017 · 2 comments

Comments

@Mohitphulera
Copy link

The gradle wrapper is not working with jdk 'version 9.0.1'
The options left with me is to downgrade my system jdk to version '1.8.0-151' for continuing this course .
Downgrading jdk would work for this purpose but i will get conflicts while running other application not supporting this downgraded version.
Downgrading jdkmay be a temporary solution ,but i request you to find a permanent solution for this issue.
And if there is already a solution to this issue ,please suggest.
image

@dnbit
Copy link
Contributor

dnbit commented Jan 3, 2018

@Mohitphulera Java 9 is not officially supported for Android Development. It is not about the course at all. It is that Android does not support Java 9 yet.

In other words, if you use Java 9 for Android Development it is on your own risk. You should use Java 8.

You can have as many different JDKs in your computer as you want. Just install JDK 8 and set up your android studio to point to your Java 8 instead of pointing to your Java 9. Let the rest of your apps as they are, pointing to your Java 9 as default.

@Jantzilla
Copy link

Jantzilla commented Jun 3, 2018

Upgrading the gradle from 3.3 to 4.7 resolved this issue for me. I have opened a pull request. See #79.

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

3 participants