-
Notifications
You must be signed in to change notification settings - Fork 349
Open
Description
gradlew build 至 95%时报错
node_modules/jpush-react-native/android/src/main/AndroidManifest.xml:99: Error: Class referenced in the manifest, cn.jpush.android.service.DActivity, was not found in the project or the libraries [MissingClass]
<activity android:name="cn.jpush.android.service.DActivity"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
已经尝试切换了多个不同的jpush-react-native版本,问题依旧。
也尝试注释掉相关的.xml文件的内容,也不行
疑似0.75版本和jpush插件兼容问题,期待官方及时修复。
你的运行环境
- 插件版本: "jcore-react-native": "2.1.2","jpush-react-native": "2.9.8",
- 尝试jpush-react-native更新多个版本 3.1.2和3.1.1. 3.1.0 3.0.9都不行,报同样的错误。
- react-native 版本: "react-native": "0.75.4",
期望效果
希望修复这个问题,排查出原因。
实际效果
gradlew build 成功
重现步骤
- npm install jpush-react-native
- ./gradlew build
- 错误在95%左右时出现
Debug logs
包括 Android 或 iOS 的日志:
Metadata
Metadata
Assignees
Labels
No labels