Tencent / matrix

Matrix is a plugin style, non-invasive APM system developed by WeChat.
Other
11.66k stars 1.89k forks source link

matrix for Android not support rxjava3 #873

Open Darren999 opened 1 year ago

Darren999 commented 1 year ago

一个简单的helloworld项目,里面加入了matrix-for-android 和 rxjava3,运行的时候会报下面的错误。 单独使用其中一个库都没有问题。

2023-11-16 09:22:10.651 8606-8606/com.darren.optimize E/AndroidRuntime: FATAL EXCEPTION: main Process: com.darren.optimize, PID: 8606 java.lang.NoClassDefFoundError: Failed resolution of: Lio/reactivex/rxjava3/core/ObservableOnSubscribe; at java.lang.Class.newInstance(Native Method) at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95) at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:41) at android.app.Instrumentation.newActivity(Instrumentation.java:1253) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3335) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:223) at android.app.ActivityThread.main(ActivityThread.java:7664) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:607) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)