安卓react native cannot read properties of underfined(reading 'init')
按照github上面的安装步骤,报错cannot read properties of undefined (reading 'init'), 找不到JPushModule模块
版本号:"react-native": "0.72.6",``"jcore-react-native": "^2.1.4",`` "jpush-react-native": "^3.0.5",
模拟器错误:
步骤1:安装
步骤2:安卓配置安卓build.gradle
)
步骤3:安卓配置setting.gradle
步骤4: 安卓配置AndroidManifest.xml
步骤5:安卓配置MainApplication.java

步骤6 JPush.init报错
报错如下