react-native-notifications - 无法在Android上运行项目

问题描述:

我按照the document做了所有事情,但无法在Android上运行该项目。请看下面的图片来查看错误。react-native-notifications - 无法在Android上运行项目

enter image description here

这里是the files是我编辑基于文档。

注意:这只是一个空白的react-native项目安装react-native-notifications,没有任何代码行。

React Native的版本0.47对ReactPackage接口进行了更改,该接口断开类似react-native-notifications的库。强制使用0.46,直到支持RN 0.47的库的一个版本。 https://github.com/facebook/react-native/releases/tag/v0.47.0