Closed kamike closed 4 years ago
我是用flutter集成了移动推送,其他的没有集成 通过Maven库快速集成(远程同步) implementation 'com.aliyun.ams:alicloud-android-push:3.2.1' 混淆关闭了
debug启动没有任何问题,推送也可以收到,打包release版本,启动就报错,发现是在Application初始化sdk报错的
Build fingerprint: 'samsung/c7proltezc/c7proltechn:8.0.0/R16NW/C7010ZCS3CSC1:user/release-keys' 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: Revision: '4' 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: ABI: 'arm64' 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: pid: 2744, tid: 2795, name: ConnectionWorke >>> com.xxx.flutter.santime <<< 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: Abort message: 'thread.cc:2031] Throwing new exception 'no non-static method "Lorg/android/spdy/SpdyAgent;.spdyDataChunkRecvCB(Lorg/android/spdy/SpdySession;ZILorg/android/spdy/SpdyByteArray;I)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lorg/android/spdy/SpdyAgent;.spdySessionConnectCB(Lorg/android/spdy/SpdySession;Lorg/android/spdy/SuperviseConnectInfo;)V"' 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x0 0000000000000000 x1 0000000000000aeb x2 0000000000000006 x3 0000000000000008 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7fffffff7f 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x8 0000000000000083 x9 1d3e1eb4ca5e01b5 x10 0000000000000000 x11 0000000000000001 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x12 ffffffffffffffff x13 ffffffffffffffff x14 ff00000000000000 x15 ffffffffffffffff 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x16 0000007905b4e2f8 x17 0000007905aef878 x18 0000000000000020 x19 0000000000000ab8 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x20 0000000000000aeb x21 00000078fa278e80 x22 000000000000000b x23 000000000000083b 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x24 0000000000000041 x25 00000078fa2c1800 x26 000000000000083a x27 0000007904dfbb90 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x28 0000000000000043 x29 00000078e7f08fc0 x30 0000007905aa1ed4 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: sp 00000078e7f08f80 pc 0000007905aef880 pstate 0000000060000000 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: backtrace: 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #00 pc 000000000006b880 /system/lib64/libc.so (tgkill+8) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #01 pc 000000000001ded0 /system/lib64/libc.so (abort+88) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #02 pc 00000000004374f8 /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+528) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #03 pc 0000000000437c08 /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+24) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #04 pc 0000000000522c3c /system/lib64/libart.so (_ZN7android4base10LogMessageD1Ev+900) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #05 pc 0000000000462f20 /system/lib64/libart.so (_ZNK3art6Thread39AssertNoPendingExceptionForNewExceptionEPKc+1212) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #06 pc 00000000004663cc /system/lib64/libart.so (_ZN3art6Thread18ThrowNewExceptionFEPKcS2_z+176) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #07 pc 0000000000354ce4 /system/lib64/libart.so (_ZN3artL12FindMethodIDERNS_18ScopedObjectAccessEP7_jclassPKcS5_b+544) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #08 pc 00000000003192a0 /system/lib64/libart.so (_ZN3art3JNI11GetMethodIDEP7_JNIEnvP7jclassPKcS6+628) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #09 pc 00000000000068e0 /data/app/com.wlfz.flutter.santime-PwPDjVokWoCL4ThY5bX-4Q==/lib/arm64/libtnet-3.1.14.so
关键的奔溃在这里 Throwing new exception 'no non-static method "Lorg/android/spdy/SpdyAgent;.spdyDataChunkRecvCB(Lorg/android/spdy/SpdySession;ZILorg/android/spdy/SpdyByteArray;I)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lorg/android/spdy/SpdyAgent;.spdySessionConnectCB(Lorg/android/spdy/SpdySession
解压缩apk,lib里面查看.so也是正常的
官方能不能给一点建议,这个问题很急,APP快上线了
混淆配置错了
我是用flutter集成了移动推送,其他的没有集成 通过Maven库快速集成(远程同步) implementation 'com.aliyun.ams:alicloud-android-push:3.2.1' 混淆关闭了
debug启动没有任何问题,推送也可以收到,打包release版本,启动就报错,发现是在Application初始化sdk报错的
Build fingerprint: 'samsung/c7proltezc/c7proltechn:8.0.0/R16NW/C7010ZCS3CSC1:user/release-keys' 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: Revision: '4' 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: ABI: 'arm64' 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: pid: 2744, tid: 2795, name: ConnectionWorke >>> com.xxx.flutter.santime <<< 2020-09-17 15:30:48.019 2834-2834/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: Abort message: 'thread.cc:2031] Throwing new exception 'no non-static method "Lorg/android/spdy/SpdyAgent;.spdyDataChunkRecvCB(Lorg/android/spdy/SpdySession;ZILorg/android/spdy/SpdyByteArray;I)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lorg/android/spdy/SpdyAgent;.spdySessionConnectCB(Lorg/android/spdy/SpdySession;Lorg/android/spdy/SuperviseConnectInfo;)V"' 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x0 0000000000000000 x1 0000000000000aeb x2 0000000000000006 x3 0000000000000008 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 7f7f7f7fffffff7f 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x8 0000000000000083 x9 1d3e1eb4ca5e01b5 x10 0000000000000000 x11 0000000000000001 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x12 ffffffffffffffff x13 ffffffffffffffff x14 ff00000000000000 x15 ffffffffffffffff 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x16 0000007905b4e2f8 x17 0000007905aef878 x18 0000000000000020 x19 0000000000000ab8 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x20 0000000000000aeb x21 00000078fa278e80 x22 000000000000000b x23 000000000000083b 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x24 0000000000000041 x25 00000078fa2c1800 x26 000000000000083a x27 0000007904dfbb90 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: x28 0000000000000043 x29 00000078e7f08fc0 x30 0000007905aa1ed4 2020-09-17 15:30:48.021 2834-2834/? A/DEBUG: sp 00000078e7f08f80 pc 0000007905aef880 pstate 0000000060000000 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: backtrace: 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #00 pc 000000000006b880 /system/lib64/libc.so (tgkill+8) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #01 pc 000000000001ded0 /system/lib64/libc.so (abort+88) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #02 pc 00000000004374f8 /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+528) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #03 pc 0000000000437c08 /system/lib64/libart.so (_ZN3art7Runtime7AborterEPKc+24) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #04 pc 0000000000522c3c /system/lib64/libart.so (_ZN7android4base10LogMessageD1Ev+900) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #05 pc 0000000000462f20 /system/lib64/libart.so (_ZNK3art6Thread39AssertNoPendingExceptionForNewExceptionEPKc+1212) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #06 pc 00000000004663cc /system/lib64/libart.so (_ZN3art6Thread18ThrowNewExceptionFEPKcS2_z+176) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #07 pc 0000000000354ce4 /system/lib64/libart.so (_ZN3artL12FindMethodIDERNS_18ScopedObjectAccessEP7_jclassPKcS5_b+544) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #08 pc 00000000003192a0 /system/lib64/libart.so (_ZN3art3JNI11GetMethodIDEP7_JNIEnvP7jclassPKcS6+628) 2020-09-17 15:30:48.025 2834-2834/? A/DEBUG: #09 pc 00000000000068e0 /data/app/com.wlfz.flutter.santime-PwPDjVokWoCL4ThY5bX-4Q==/lib/arm64/libtnet-3.1.14.so
关键的奔溃在这里 Throwing new exception 'no non-static method "Lorg/android/spdy/SpdyAgent;.spdyDataChunkRecvCB(Lorg/android/spdy/SpdySession;ZILorg/android/spdy/SpdyByteArray;I)V"' with unexpected pending exception: java.lang.NoSuchMethodError: no non-static method "Lorg/android/spdy/SpdyAgent;.spdySessionConnectCB(Lorg/android/spdy/SpdySession
解压缩apk,lib里面查看.so也是正常的