Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打release包出现闪退,debug模式下能正常开发. #113

Closed
LoveRain1997 opened this issue Apr 19, 2019 · 2 comments
Closed

打release包出现闪退,debug模式下能正常开发. #113

LoveRain1997 opened this issue Apr 19, 2019 · 2 comments

Comments

@LoveRain1997
Copy link

打release包出现闪退,debug模式下能正常开发.


Build fingerprint: 'Xiaomi/chiron/chiron:8.0.0/OPR1.170623.027/9.4.11:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 25080, tid: 25080, name: ndroid.demo >>> com.sunnydl.android.demo <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/library_loader.cc(24)] Check failed: result.
'
r0 00000000 r1 000061f8 r2 00000006 r3 00000008
r4 000061f8 r5 000061f8 r6 ff8fcb68 r7 0000010c
r8 e8934560 r9 00000071 sl ff8fcd74 fp e8931230
ip 00000000 sp ff8fcb58 lr e9f269b7 pc e9f5711c cpsr 200d0010

backtrace:
#00 pc 0004b11c /system/lib/libc.so (tgkill+12)
#1 pc 0001a9b3 /system/lib/libc.so (abort+54)
#2 pc 00136c3b /data/app/com.sunnydl.android.demo-JeguS7sZJEulQ0O9O5uL5w==/lib/arm/libflutter.so (offset 0x113000)
#3 pc 0012b5f1 /data/app/com.sunnydl.android.demo-JeguS7sZJEulQ0O9O5uL5w==/lib/arm/libflutter.so (demo 0x113000) (JNI_OnLoad+488)
#4 pc 00232d3b /system/lib/libart.so (ZN3art9JavaVMExt17LoadNativeLibraryEP7_JNIEnvRKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEP8_jobjectP8_jstringPS9+2142)
#5 pc 0000319b /system/lib/libopenjdkjvm.so (JVM_NativeLoad+194)
#6 pc 0026deb9 /system/framework/arm/boot-core-oj.oat (offset 0x1d1000) (java.lang.Runtime.nativeLoad+160)
#7 pc 0026d7f5 /system/framework/arm/boot-core-oj.oat (offset 0x1d1000) (java.lang.Runtime.doLoad+172)
#8 pc 0026f7ed /system/framework/arm/boot-core-oj.oat (offset 0x1d1000) (java.lang.Runtime.loadLibrary0+788)
#9 pc 0028c553 /system/framework/arm/boot-core-oj.oat (offset 0x1d1000) (java.lang.System.loadLibrary+90)
#10 pc 003e1f61 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#11 pc 003e65db /system/lib/libart.so (art_quick_invoke_static_stub+226)
#12 pc 000ace43 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#13 pc 001f2e27 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+238)
#14 pc 001ee3e3 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+574)
#15 pc 003ccf55 /system/lib/libart.so (MterpInvokeStatic+324)
#16 pc 003d4394 /system/lib/libart.so (ExecuteMterpImpl+14612)
#17 pc 001d5965 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#18 pc 001dace7 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
#19 pc 001ee3cd /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
#20 pc 003ccf55 /system/lib/libart.so (MterpInvokeStatic+324)
#21 pc 003d4394 /system/lib/libart.so (ExecuteMterpImpl+14612)
#22 pc 001d5965 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#23 pc 001dac35 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#24 pc 003c25e9 /system/lib/libart.so (artQuickToInterpreterBridge+960)
#25 pc 003e5d21 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
#26 pc 003e1f61 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#27 pc 003e65db /system/lib/libart.so (art_quick_invoke_static_stub+226)
#28 pc 000ace43 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#29 pc 001f2e27 /system/lib/libart.so (_ZN3art11interpreter34ArtInterpreterToCompiledCodeBridgeEPNS_6ThreadEPNS_9ArtMethodEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+238)
#30 pc 001ee3e3 /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+574)
#31 pc 003ccf55 /system/lib/libart.so (MterpInvokeStatic+324)
#32 pc 003d4394 /system/lib/libart.so (ExecuteMterpImpl+14612)
#33 pc 001d5965 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#34 pc 001dace7 /system/lib/libart.so (_ZN3art11interpreter33ArtInterpreterToInterpreterBridgeEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameEPNS_6JValueE+142)
#35 pc 001ee3cd /system/lib/libart.so (_ZN3art11interpreter6DoCallILb0ELb0EEEbPNS_9ArtMethodEPNS_6ThreadERNS_11ShadowFrameEPKNS_11InstructionEtPNS_6JValueE+552)
#36 pc 003cc3a1 /system/lib/libart.so (MterpInvokeSuper+1088)
#37 pc 003d4294 /system/lib/libart.so (ExecuteMterpImpl+14356)
#38 pc 001d5965 /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadEPKNS_7DexFile8CodeItemERNS_11ShadowFrameENS_6JValueEb+340)
#39 pc 001dac35 /system/lib/libart.so (_ZN3art11interpreter30EnterInterpreterFromEntryPointEPNS_6ThreadEPKNS_7DexFile8CodeItemEPNS_11ShadowFrameE+92)
#40 pc 003c25e9 /system/lib/libart.so (artQuickToInterpreterBridge+960)
#41 pc 003e5d21 /system/lib/libart.so (art_quick_to_interpreter_bridge+32)
#42 pc 0077329b /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.app.Instrumentation.callApplicationOnCreate+42)
#43 pc 0068899b /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.app.ActivityThread.handleBindApplication+5946)
#44 pc 006809e3 /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.app.ActivityThread.-wrap1+50)
#45 pc 0067ce85 /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.app.ActivityThread$H.handleMessage+6148)
#46 pc 00679813 /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.os.Handler.dispatchMessage+138)
#47 pc 00e1569f /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.os.Looper.loop+1366)
#48 pc 00693085 /system/framework/arm/boot-framework.oat (offset 0x5e1000) (android.app.ActivityThread.main+932)
#49 pc 003e1f61 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#50 pc 003e65db /system/lib/libart.so (art_quick_invoke_static_stub+226)
#51 pc 000ace43 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#52 pc 0033390d /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+52)
#53 pc 00334e53 /system/lib/libart.so (_ZN3art12InvokeMethodERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectS4_S4_j+946)
#54 pc 002e2be5 /system/lib/libart.so (ZN3artL13Method_invokeEP7_JNIEnvP8_jobjectS3_S3+40)
#55 pc 00250bf7 /system/framework/arm/boot-core-oj.oat (offset 0x1d1000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+110)
#56 pc 0147130d /system/framework/arm/boot-framework.oat (offset 0x5e1000) (com.android.internal.os.Zygote$MethodAndArgsCaller.run+124)
#57 pc 014747eb /system/framework/arm/boot-framework.oat (offset 0x5e1000) (com.android.internal.os.ZygoteInit.main+2634)
#58 pc 003e1f61 /system/lib/libart.so (art_quick_invoke_stub_internal+64)
#59 pc 003e65db /system/lib/libart.so (art_quick_invoke_static_stub+226)
#60 pc 000ace43 /system/lib/libart.so (_ZN3art9ArtMethod6InvokeEPNS_6ThreadEPjjPNS_6JValueEPKc+182)
#61 pc 0033390d /system/lib/libart.so (_ZN3artL18InvokeWithArgArrayERKNS_33ScopedObjectAccessAlreadyRunnableEPNS_9ArtMethodEPNS_8ArgArrayEPNS_6JValueEPKc+52)
#62 pc 00333719 /system/lib/libart.so (_ZN3art17InvokeWithVarArgsERKNS_33ScopedObjectAccessAlreadyRunnableEP8_jobjectP10_jmethodIDSt9__va_list+296)
#63 pc 00286b3f /system/lib/libart.so (_ZN3art3JNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+430)

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.5.2-pre.3, on Mac OS X 10.14.2 18C54, locale
zh-Hans-CN)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.3)
[✓] VS Code (version 1.32.3)
[✓] Proxy Configuration
[✓] Connected device (1 available)

@LoveRain1997
Copy link
Author

LoveRain1997 commented Apr 19, 2019

必须使用flutter 1.2 之前的版本吗,

@nightwolf-chen
Copy link
Contributor

目前推荐1.2之前版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants