使用的版本
lottie :3.4.0
崩溃的Android版本
android 7.0
异常错误信息
2020-06-04 16:21:08.788 12963-12732/? A/google-breakpad: -----BEGIN BREAKPAD MICRODUMP-----
2020-06-04 16:21:08.788 12963-12732/? A/google-breakpad: V UNKNOWN:0.0.0.0
2020-06-04 16:21:08.788 12963-12732/? A/google-breakpad: O A arm 08 armv7l 3.18.31-g07dc527 #2 SMP PREEMPT Wed Oct 24 10:21:06 CST 2018
2020-06-04 16:21:08.788 12963-12732/? A/google-breakpad: P UNKNOWN
2020-06-04 16:21:08.788 12963-12732/? A/google-breakpad: G UNKNOWN
2020-06-04 16:21:08.793 12963-12732/? A/google-breakpad: H 12C00000 FFFF1000 0061 4132A000 82DB2000 0C:0D 0D:13 0E:0A 0F:09 10:07 11:03 12:07 13:05 14:10 15:01 17:01 1A:03 1B:01 1D:01 1E:01
2020-06-04 16:21:08.793 12963-12732/? A/google-breakpad: -----starting crashing thread-----
2020-06-04 16:21:08.793 12963-12732/? I/crash_recorder: UContextReader::FillCPUContext of uc: 0x9189c270, out: 0xab29da48, pc: 0xb415b558
2020-06-04 16:21:08.804 12700-12732/com.gaoxxfast.mall.debug A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x4 in tid 12732 (RenderThread)
2020-06-04 16:21:08.909 12964-12964/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: Build fingerprint: 'HONOR/DLI-AL10/HWDLI-Q:7.0/HONORDLI-AL10/C00B180:user/release-keys'
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: Revision: '0'
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: ABI: 'arm'
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: pid: 12700, tid: 12732, name: RenderThread >>> com.gaoxxfast.mall.debug <<<
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x4
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: r0 90d98b1c r1 00000000 r2 8bafb800 r3 b4115581
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: r4 91b0ee00 r5 970602d8 r6 00000002 r7 91b1a8ac
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: r8 8bafb800 r9 00000000 sl 970602d8 fp 91b1a890
2020-06-04 16:21:08.910 12964-12964/? A/DEBUG: ip b4177690 sp 9705ff08 lr b41262bf pc b415b558 cpsr a0010030
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: backtrace:
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: #00 pc 00065558 /system/lib/libhwui.so
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: #01 pc 00064a33 /system/lib/libhwui.so
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: #02 pc 00064745 /system/lib/libhwui.so
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: #03 pc 000240fd /system/lib/libhwui.so
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: #04 pc 000260fb /system/lib/libhwui.so
2020-06-04 16:21:08.916 12964-12964/? A/DEBUG: #05 pc 0002977d /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+80)
2020-06-04 16:21:08.917 12964-12964/? A/DEBUG: #06 pc 0000e589 /vendor/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140)
2020-06-04 16:21:08.917 12964-12964/? A/DEBUG: #07 pc 0006b769 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
2020-06-04 16:21:08.917 12964-12964/? A/DEBUG: #08 pc 00047393 /system/lib/libc.so (_ZL15__pthread_startPv+22)
2020-06-04 16:21:08.917 12964-12964/? A/DEBUG: #09 pc 00019abd /system/lib/libc.so (__start_thread+6)
解决办法
我们要采用软件来渲染,不要使用硬件来渲染所以,它会导致崩溃的
//使用软件来渲染
lottieAnimationView.setRenderMode(RenderMode.SOFTWARE)
网友评论