react-native run-android:Could not determine java version from '10.0.1'.

参考:

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

解决:

需要删除 javaSE 10.0.1版本,安装低版本。

如:"1.8.0_181"版本。下载地址Java SE 8u181

Mac上java环境安装:https://blog.csdn.net/Crazy_SunShine/article/details/80938098

猜你喜欢

转载自blog.csdn.net/Crazy_SunShine/article/details/81434536