我通过运行以下命令安装react-native-splash-screen软件包
yarn add react-native-splash-screen@3.0.6
它安装成功,但是当我通过运行此命令将其链接
react-native link react-native-splash-screen
我遇到一个错误,这就是输出
Scanning folders for symlinks in REACT_NATIVE_PROJECT\node_modules (339ms)
rnpm-install info Linking react-native-splash-screen ios dependency
rnpm-install info Platform 'ios' module react-native-splash-screen has been successfully linked
rnpm-install info Linking react-native-splash-screen android dependency
rnpm-install ERR! Something went wrong while linking. Error: ENOENT: no such file or directory, open 'REACT_NATIVE_PROJECT\android\app\src\main\java\DOMAIN_NAME\COMPANY_NAME\MainApplication.java'
Please file an issue here: https://github.com/facebook/react-native/issues
ENOENT: no such file or directory, open 'REACT_NATIVE_PROJECT\android\app\src\main\java\DOMAIN_NAME\COMPANY_NAME\MainApplication.java'