Ali Faris
Ali Faris

Reputation: 18610

Could not determine java version

after upgrading to Java 9 , react-native run-android wont work

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '9.0.1'.

react-native-cli: 2.0.1

react-native: 0.48.0

Upvotes: 1

Views: 1563

Answers (1)

sebastianf182
sebastianf182

Reputation: 9978

It is because the Android tools don't support JDK 9. You need to revert to 8

https://github.com/facebook/react-native/issues/11755

Upvotes: 2

Related Questions