bberak / react-native-game-engine-handbook

A React Native app showcasing some examples using react-native-game-engine 🐒✨
MIT License
598 stars 85 forks source link

Could not determine java version from '10.0.2' #8

Closed ghost closed 5 years ago

ghost commented 5 years ago

I'm trying to execute react-native run-android but I am encountering the following error:

FAILURE: Build failed with an exception.

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

Running:

Kubuntu 18.04 Node 8.10.0 NPM 6.4.1 OpenJDK 10.0.2

ghost commented 5 years ago

Resolved by installing openJDK 8 and setting that as the default.

bberak commented 5 years ago

Woah @BrianD91 - thanks for debugging and resolving that issue. I'm sure that will help others running non-Windows/non-Mac operating system. Much appreciated!