Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
qiqimantou opened this issue Dec 12, 2024 · 0 comments
Open

Comments

@qiqimantou
Copy link

qiqimantou commented Dec 12, 2024

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 的日志:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant