Android 集成环信客服sdk, debug下正常运行,打包安装后打开时crash

--------- beginning of crash
07-10 18:51:32.122 28506 28506 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 28506 (hi_panda_parent)
07-10 18:51:32.122   566   566 W         : debuggerd: handling request: pid=28506 uid=10371 gid=10371 tid=28506
07-10 18:51:32.172 14881 14907 D ONE SDK : [2018/07/10 18:51:32:172]: [kefu service] kefu ping...
07-10 18:51:32.175 14881 22825 D libc-netbsd: [getaddrinfo]:  hostname=kefu.easemob.com;  servname=(null);  app_pid=14881;  app_uid=10367;  ai_flags=1024;  ai_family=0; ai_socktype=1 from prox result 0
07-10 18:51:32.183 28557 28557 E DEBUG   : engrave tombstone!
07-10 18:51:32.183 28557 28557 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
07-10 18:51:32.183 28557 28557 F DEBUG   : Build fingerprint: 'OPPO/R11/R11:7.1.1/NMF26X/1521488902:user/release-keys'
07-10 18:51:32.183 28557 28557 F DEBUG   : Revision: '0'
07-10 18:51:32.183 28557 28557 F DEBUG   : ABI: 'arm'
07-10 18:51:32.183 28557 28557 F DEBUG   : pid: 28506, tid: 28506, name: hi_panda_parent  >>> com.iflytek.hi_panda_parent <<<
07-10 18:51:32.183 28557 28557 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
07-10 18:51:32.183 28557 28557 F DEBUG   :     r0 00000000  r1 00006f5a  r2 00000006  r3 00000008
07-10 18:51:32.183 28557 28557 F DEBUG   :     r4 edb0058c  r5 00000006  r6 edb00534  r7 0000010c
07-10 18:51:32.183 28557 28557 F DEBUG   :     r8 0000000a  r9 ffb87c54  sl 00000000  fp eab92130
07-10 18:51:32.183 28557 28557 F DEBUG   :     ip 00000058  sp ffb87bc0  lr ec2d2eff  pc ec2d5818  cpsr 600f0010
07-10 18:51:32.279  1653  1696 D         : jni writeStringContentData: dataContent size:47, contentSize:47, str:com.iflytek.hi_panda_parent|2018-07-10 18:51:31, dataType:9
07-10 18:51:32.312  1653  1707 V WindowManager: reevaluateVisibility focusApp:AppWindowToken{6d46813 token=Token{2d4e04d ActivityRecord{5ac8b77 u0 com.iflytek.hi_panda_parent/.ui.home.StartActivity t3361}}}
07-10 18:51:32.330 14881 14907 D ONE SDK : [2018/07/10 18:51:32:330]: [kefu receive] message:{"status":"OK","entities":[]}
07-10 18:51:32.462 28557 28557 F DEBUG   : 
07-10 18:51:32.462 28557 28557 F DEBUG   : backtrace:
07-10 18:51:32.462 28557 28557 F DEBUG   :     #00 pc 0004a818  /system/lib/libc.so (tgkill+12)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #01 pc 00047efb  /system/lib/libc.so (pthread_kill+34)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #02 pc 0001dacd  /system/lib/libc.so (raise+10)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #03 pc 000194c5  /system/lib/libc.so (__libc_android_abort+34)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #04 pc 00017520  /system/lib/libc.so (abort+4)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #05 pc 000c28f3  /data/app/com.iflytek.hi_panda_parent-1/lib/arm/libhyphenate_av.so
07-10 18:51:32.462 28557 28557 F DEBUG   :     #06 pc 000885df  /data/app/com.iflytek.hi_panda_parent-1/lib/arm/libhyphenate_av.so
07-10 18:51:32.462 28557 28557 F DEBUG   :     #07 pc 0008886d  /data/app/com.iflytek.hi_panda_parent-1/lib/arm/libhyphenate_av.so
07-10 18:51:32.462 28557 28557 F DEBUG   :     #08 pc 00088e9d  /data/app/com.iflytek.hi_panda_parent-1/lib/arm/libhyphenate_av.so
07-10 18:51:32.462 28557 28557 F DEBUG   :     #09 pc 0004ad27  /data/app/com.iflytek.hi_panda_parent-1/lib/arm/libhyphenate_av.so (JNI_OnLoad+166)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #10 pc 002563d9  /system/lib/libart.so (_ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9_+1844)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #11 pc 00003437  /system/lib/libopenjdkjvm.so (JVM_NativeLoad+190)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #12 pc 00583da5  /system/framework/arm/boot.oat (offset 0x51b000) (java.lang.Runtime.nativeLoad+144)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #13 pc 005839e5  /system/framework/arm/boot.oat (offset 0x51b000) (java.lang.Runtime.doLoad+136)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #14 pc 00584ef1  /system/framework/arm/boot.oat (offset 0x51b000) (java.lang.Runtime.loadLibrary0+540)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #15 pc 0059d3b3  /system/framework/arm/boot.oat (offset 0x51b000) (java.lang.System.loadLibrary+78)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #16 pc 000aa341  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #17 pc 00433e1b  /system/lib/libart.so (art_quick_invoke_static_stub+226)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #18 pc 000b1ba3  /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+186)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #19 pc 00208255  /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #20 pc 002023b5  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+432)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #21 pc 0042c907  /system/lib/libart.so (MterpInvokeStatic+234)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #22 pc 0009d314  /system/lib/libart.so (ExecuteMterpImpl+14612)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #23 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #24 pc 001ea053  /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #25 pc 0020239d  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+408)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #26 pc 0042c907  /system/lib/libart.so (MterpInvokeStatic+234)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #27 pc 0009d314  /system/lib/libart.so (ExecuteMterpImpl+14612)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #28 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #29 pc 001ea053  /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #30 pc 0020239d  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+408)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #31 pc 0042c907  /system/lib/libart.so (MterpInvokeStatic+234)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #32 pc 0009d314  /system/lib/libart.so (ExecuteMterpImpl+14612)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #33 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #34 pc 001ea053  /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #35 pc 0020239d  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+408)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #36 pc 0042c907  /system/lib/libart.so (MterpInvokeStatic+234)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #37 pc 0009d314  /system/lib/libart.so (ExecuteMterpImpl+14612)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #38 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #39 pc 001e9fb9  /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
07-10 18:51:32.462 28557 28557 F DEBUG   :     #40 pc 00422c15  /system/lib/libart.so (artQuickToInterpreterBridge+748)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #41 pc 000aed93  /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #42 pc 000aa341  /system/lib/libart.so (art_quick_invoke_stub_internal+64)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #43 pc 00433e1b  /system/lib/libart.so (art_quick_invoke_static_stub+226)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #44 pc 000b1ba3  /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+186)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #45 pc 00208255  /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+200)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #46 pc 002023b5  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+432)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #47 pc 0042c907  /system/lib/libart.so (MterpInvokeStatic+234)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #48 pc 0009d314  /system/lib/libart.so (ExecuteMterpImpl+14612)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #49 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #50 pc 001ea053  /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #51 pc 0020239d  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+408)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #52 pc 0042e12d  /system/lib/libart.so (MterpInvokeVirtualQuick+316)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #53 pc 000a0f14  /system/lib/libart.so (ExecuteMterpImpl+29972)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #54 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #55 pc 001ea053  /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+114)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #56 pc 0020239d  /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+408)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #57 pc 0042e12d  /system/lib/libart.so (MterpInvokeVirtualQuick+316)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #58 pc 000a0f14  /system/lib/libart.so (ExecuteMterpImpl+29972)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #59 pc 001e559b  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+282)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #60 pc 001e9fb9  /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #61 pc 00422c15  /system/lib/libart.so (artQuickToInterpreterBridge+748)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #62 pc 000aed93  /system/lib/libart.so (art_quick_to_interpreter_bridge+34)
07-10 18:51:32.463 28557 28557 F DEBUG   :     #63 pc 0197541d  /system/framework/arm/boot-framework.oat (offset 0x186a000) (android.app.Instrumentation.callApplicationOnCreate+40)
已邀请:

suijtwl

赞同来自:

已解决,是混淆打包的问题。
//2.x
-keep class com.hyphenate.** {*;} 
-dontwarn com.hyphenate.**
 
//3.x 
-keep class com.hyphenate.** {*;} 
-dontwarn com.hyphenate.** 
-keep class com.superrtc.** {*;}
 

要回复问题请先登录注册

知识价值的认可,源自您的赞赏

扫描二维码,你的支付将由imGeek代收后转给对方

×