报错信息如下
10001-18 17:22:15.638 7636 7704 D CrashHandler: java.lang.NoClassDefFoundError:
10101-18 17:22:15.638 7636 7704 D CrashHandler: at javax.net.ssl.SNIServerName.<clinit>(Unknown Source)
10201-18 17:22:15.638 7636 7704 D CrashHandler: at java.lang.Class.classForName(Native Method)
10301-18 17:22:15.638 7636 7704 D CrashHandler: at java.lang.Class.forName(Class.java:324)
10401-18 17:22:15.638 7636 7704 D CrashHandler: at java.lang.Class.forName(Class.java:285)
10501-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.websocket.StandardWebSocketClient.setSocket(StandardWebSocketClient.java:35)
10601-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.websocket.StandardWebSocketClient.<init>(StandardWebSocketClient.java:33)
10701-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager.initWebSocketClient(LCConnectionManager.java:162)
10801-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager.access$500(LCConnectionManager.java:1)
10901-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager$3$1.onNext(LCConnectionManager.java:3)
11001-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager$3$1.onNext(LCConnectionManager.java:1)
11101-18 17:22:15.638 7636 7704 D CrashHandler: at io.reactivex.internal.operators.observable.ObservableScalarXMap$ScalarDisposable.run(ObservableScalarXMap.java:19)
11201-18 17:22:15.638 7636 7704 D CrashHandler: at io.reactivex.internal.operators.observable.ObservableJust.subscribeActual(ObservableJust.java:11)
11301-18 17:22:15.638 7636 7704 D CrashHandler: at io.reactivex.Observable.subscribe(Observable.java:14)
11401-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager$3.onNext(LCConnectionManager.java:9)
11501-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager$3.onNext(LCConnectionManager.java:1)
11601-18 17:22:15.638 7636 7704 D CrashHandler: at io.reactivex.internal.operators.observable.ObservableScalarXMap$ScalarDisposable.run(ObservableScalarXMap.java:19)
11701-18 17:22:15.638 7636 7704 D CrashHandler: at io.reactivex.internal.operators.observable.ObservableJust.subscribeActual(ObservableJust.java:11)
11801-18 17:22:15.638 7636 7704 D CrashHandler: at io.reactivex.Observable.subscribe(Observable.java:14)
11901-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager.startConnectionInternal(LCConnectionManager.java:44)
12001-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager.access$200(LCConnectionManager.java:1)
12101-18 17:22:15.638 7636 7704 D CrashHandler: at cn.leancloud.session.LCConnectionManager$2.run(LCConnectionManager.java:53)
12201-18 17:22:15.638 7636 7704 D CrashHandler: at java.lang.Thread.run(Thread.java:818)
部分编译信息
minSdkVersion 23
targetSdkVersion 33
implementation 'cn.leancloud:storage-android:8.2.15'
implementation 'cn.leancloud:realtime-android:8.2.15'
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
设备环境
设备机型 MuMu
系统版本 Android 6.0.1,level 23
ROM OnePlus/OnePlus2
CPU架构 arm64-v8a