在运行npx react-native run-android之后
我得到了这个错误
* What went wrong:
Execution failed for task ':unimodules-constants-interface:compileDebugJavaWithJavac'.
> Could not find tools.jar. Please check that C:\Program Files\Java\jre1.8.0_261 contains a valid JDK installation.有人能解释一下这里面出了什么问题吗?
发布于 2020-09-18 01:28:00
当你指向一个JRE时,看起来它正在寻找一个JDK。您是否安装了JDK?如果是这样,也许可以试着指出这一点。
https://stackoverflow.com/questions/63943222
复制相似问题