React Native error: “Could not determine java version from '9.0.1'.”

前端 未结 11 1774
悲&欢浪女
悲&欢浪女 2020-11-28 03:50

I\'m working on MacOS and just starting with react-native.

One of the first steps to get started is to run: react-native run-android or

11条回答
  •  清酒与你
    2020-11-28 04:03

    Really the fastest way to get around this error is to use JDK 8. Except when you really need to use JDK9.

    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    Don't forget to change your enviroment variable JAVA_HOME to the new JDK version!

提交回复
热议问题