反应本机推送通知无法构建

Kal*_*nga 5 push-notification react-native

我使用反应本机推送通知来查看我的通知。但是当我安装这个包时,会出现构建错误。我使用这个github链接来安装

https://github.com/zo0r/react-native-push-notification

但是当我运行 React Native 项目时,它在我的 Linux 电脑上显示此错误消息。

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-push-notification:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Run Code Online (Sandbox Code Playgroud)

如何修复这个错误?

Div*_*nki 0

尝试使用 SDK 26 或更高版本来编译它。