简体   繁体   English

react-native博士中的JDK版本

[英]JDK version in react-native doctor

Today Java woke up to make my life a living hell... I wasn't able to run react-native run android and when I went to check the react-native doctor to see if anything was happening. Today Java woke up to make my life a living hell... I wasn't able to run react-native run android and when I went to check the react-native doctor to see if anything was happening.

Turns out that there's something wrong with the JDK Version of Java, be I've installed the right version and it seems it didn't worked.原来 Java 的 JDK 版本有问题,因为我安装了正确的版本,但它似乎没有用。

Any tips?有小费吗?

终端上的错误

Today I had the exact same situation, and what solved my problem was removing conflicting paths I had in my environment.今天我遇到了完全相同的情况,解决我的问题的是删除我在环境中的冲突路径。

I've got that exact same message from react-native doctor , but it seems unrelated.我从react-native 医生那里得到了完全相同的消息,但似乎无关。 I'm still getting it, but the problem was solved by removing the bad paths.我仍然得到它,但通过删除坏路径解决了问题。

Hope this helps希望这可以帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM