安卓react native cannot read properties of underfined(reading 'init')

用户2461281
2023-11-08 17:40 63 1

按照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",
模拟器错误:
null
步骤1:安装null
步骤2:安卓配置安卓build.gradlenull)null
步骤3:安卓配置setting.gradlenull
步骤4: 安卓配置AndroidManifest.xml
null
步骤5:安卓配置MainApplication.java
null
null
步骤6 JPush.init报错
null
报错如下
null

1个回答

热门排序
  • 用户1157429
    2023-11-09 08:47
    建议用真机可参考demo集成react-native rn插件:https://go48pg.yuque.com/docs/share/91953742-c73e-4d83-8230-75de438c1984?# 《(一)极光官方 demo 展示全部