2019-07-23 11:35:07.367 11006-11006/? A/DEBUG: r0 00000000 r1 00002a8c r2 00000006 r3 00000008
2019-07-23 11:35:07.367 11006-11006/? A/DEBUG: r4 00002a8c r5 00002a8c r6 ffaae8fc r7 0000010c
2019-07-23 11:35:07.367 11006-11006/? A/DEBUG: r8 ffaaf234 r9 ffaaefc8 r10 00000000 r11 ffaaecc0
2019-07-23 11:35:07.367 11006-11006/? A/DEBUG: ip 00000041 sp ffaae8e8 lr ef4ec8dd pc ef4e4602
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: backtrace:
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #00 pc 0001d602 /system/lib/libc.so (abort+58)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #01 pc 00b0cb1b /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/lib/arm/libflutter.so (offset 0xafe000)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #02 pc 00b2f13b /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/lib/arm/libflutter.so (offset 0xafe000)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #03 pc 00afef49 /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/lib/arm/libflutter.so (offset 0xafe000)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #04 pc 00b047a7 /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/lib/arm/libflutter.so (offset 0xafe000)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #05 pc 00b03a97 /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/lib/arm/libflutter.so (offset 0xafe000)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #06 pc 00434879 /system/lib/libart.so (art_quick_generic_jni_trampoline+40)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #07 pc 00430375 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #08 pc 004091a1 /system/lib/libart.so (art_quick_invoke_stub+224)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #09 pc 000a4901 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+136)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #10 pc 001ed6b7 /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+230)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #11 pc 001e8329 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+784)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #12 pc 00404ccd /system/lib/libart.so (MterpInvokeDirect+196)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #13 pc 00423294 /system/lib/libart.so (ExecuteMterpImpl+14484)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #14 pc 0033e448 /dev/ashmem/dalvik-classes4.dex extracted in memory from /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/base.apk!classes4.dex (deleted) (io.flutter.embedding.engine.FlutterJNI.attachToNative+12)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #15 pc 001cccdf /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2983016822+354)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #16 pc 001d1617 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+146)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #17 pc 001e8313 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+762)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #18 pc 00403e37 /system/lib/libart.so (MterpInvokeVirtual+442)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #19 pc 00423194 /system/lib/libart.so (ExecuteMterpImpl+14228)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #20 pc 0034e6c8 /dev/ashmem/dalvik-classes4.dex extracted in memory from /data/app/com.pubinfo.fslinker.test-Etew9UKNZJr7fB8t5iR6EQ==/base.apk!classes4.dex (deleted) (io.flutter.view.FlutterNativeView.attach+4)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #21 pc 001cccdf /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.2983016822+354)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #22 pc 001d1617 /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+146)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #23 pc 001e8313 /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+762)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #24 pc 00404ccd /system/lib/libart.so (MterpInvokeDirect+196)
2019-07-23 11:35:07.643 11006-11006/? A/DEBUG: #25 pc 00423294 /system/lib/libart.so (ExecuteMterpImpl+14484)
flutter工程集成起来后crash。报so相关vm crash.
解决方法:
需要与宿主保持相同的
flavorDimensions,需要配置相应的productFlavors。