jpush-react-native icon indicating copy to clipboard operation
jpush-react-native copied to clipboard

0.75版本编译报错问题:DActivity, was not found in the project

Open qiqimantou opened this issue 1 year ago • 2 comments

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" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

QQ20241212-204849

已经尝试切换了多个不同的jpush-react-native版本,问题依旧。 也尝试注释掉相关的.xml文件的内容,也不行 1734007548107

疑似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",

当前安卓版本信息: QQ20241212-205216

期望效果

希望修复这个问题,排查出原因。

实际效果

gradlew build 成功

重现步骤

  1. npm install jpush-react-native
  2. ./gradlew build
  3. 错误在95%左右时出现

Debug logs

包括 Android 或 iOS 的日志:

qiqimantou avatar Dec 12 '24 12:12 qiqimantou

解决了吗

GODOFZHZ avatar Nov 29 '25 04:11 GODOFZHZ

同问

bbhxwl avatar Dec 05 '25 10:12 bbhxwl