我的 react native android 编译得很好,直到我按照文档添加了 react-native-firebase(ios 编译正常)。
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Library/Java/JavaVirtualMachines/Applications/AndroidStudio.app/Contents/jre/jd/Contents/Home错误:
> Task :react-native-firebase_app:compileDebugJavaWithJavac FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-firebase_app:compileDebugJavaWithJavac'.
> Could not find tools.jar. Please check that /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home contains a valid JDK installation.
Run Code Online (Sandbox Code Playgroud)