• 카테고리

    질문 & 답변
  • 세부 분야

    모바일 앱 개발

  • 해결 여부

    미해결

앱 꺼짐

19.11.14 14:55 작성 조회수 195

0

안녕하세요 앱 빌드 후 구글 로그인 화면을 누르면 앱이 꺼지는데 왜그런건가요? 

run 화면에 아래와 같이 나옵니다.

Build fingerprint: 'google/sdk_gphone_x86_arm/generic_x86_arm:9/PSR1.180720.117/5875966:userdebug/dev-keys'

Revision: '0'

ABI: 'x86'

pid: 13878, tid: 13878, name: 111_02_min_inst  >>> com.min19102901.flutter_191111_02_min_inst <<<

signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------

Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(76)] Check failed: CheckException(env). 

'

    eax 00000000  ebx 00003636  ecx 00003636  edx 00000006

    edi 00003636  esi 00000070

    ebp ffc64dc8  esp ffc64d68  eip f08a8b39

backtrace:

    #00 pc 00000b39  [vdso:f08a8000] (__kernel_vsyscall+9)

    #01 pc 0001fdf8  /system/lib/libc.so (syscall+40)

    #02 pc 00022ed3  /system/lib/libc.so (abort+115)

    #03 pc 01115f65  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #04 pc 0110443b  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #05 pc 01102202  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #06 pc 011622ad  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #07 pc 01114729  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #08 pc 01116ce8  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #09 pc 01116c2a  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #10 pc 0111d678  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #11 pc 0111d6a6  /data/app/com.min19102901.flutter_191111_02_min_inst-AMl6w2E2hwICByykdIrH5A==/lib/x86/libflutter.so (offset 0x10fb000)

    #12 pc 00012a77  /system/lib/libutils.so (android::SimpleLooperCallback::handleEvent(int, int, void*)+39)

    #13 pc 00013896  /system/lib/libutils.so (android::Looper::pollInner(int)+998)

    #14 pc 0001340b  /system/lib/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+43)

    #15 pc 000e415b  /system/lib/libandroid_runtime.so (android::android_os_MessageQueue_nativePollOnce(_JNIEnv*, _jobject*, long long, int)+59)

    #16 pc 003ddb28  /system/framework/x86/boot-framework.oat (offset 0x3ca000) (android.media.MediaExtractor.seekTo [DEDUPED]+136)

    #17 pc 005f0a02  /system/lib/libart.so (art_quick_invoke_stub+338)

    #18 pc 000a2f4e  /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+222)

    #19 pc 0029bb22  /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+338)

    #20 pc 00293cc8  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1048)

    #21 pc 005bd926  /system/lib/libart.so (MterpInvokeDirect+342)

    #22 pc 005e2ca1  /system/lib/libart.so (ExecuteMterpImpl+14497)

    #23 pc 00aeaf50  /system/framework/boot-framework.vdex (android.os.MessageQueue.next+38)

    #24 pc 00266096  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3007865774+598)

    #25 pc 0026c61c  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+220)

    #26 pc 00293cab  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1019)

    #27 pc 005bc353  /system/lib/libart.so (MterpInvokeVirtual+691)

    #28 pc 005e2ba1  /system/lib/libart.so (ExecuteMterpImpl+14241)

    #29 pc 00aea9fc  /system/framework/boot-framework.vdex (android.os.Looper.loop+128)

    #30 pc 00266096  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3007865774+598)

    #31 pc 0026c61c  /system/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+220)

    #32 pc 00293cab  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1019)

    #33 pc 005bdb1f  /system/lib/libart.so (MterpInvokeStatic+207)

    #34 pc 005e2d21  /system/lib/libart.so (ExecuteMterpImpl+14625)

    #35 pc 00384cd2  /system/framework/boot-framework.vdex (android.app.ActivityThread.main+214)

    #36 pc 00266096  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3007865774+598)

    #37 pc 0026c50e  /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+126)

    #38 pc 005a93fd  /system/lib/libart.so (artQuickToInterpreterBridge+1277)

    #39 pc 005f6aed  /system/lib/libart.so (art_quick_to_interpreter_bridge+77)

    #40 pc 005f0bd2  /system/lib/libart.so (art_quick_invoke_static_stub+418)

    #41 pc 000a2f5f  /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+239)

    #42 pc 004d3209  /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+89)

    #43 pc 004d4eee  /system/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1422)

    #44 pc 00449643  /system/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+83)

    #45 pc 0011d778  /system/framework/x86/boot.oat (offset 0x114000) (java.lang.Class.getDeclaredMethodInternal [DEDUPED]+168)

    #46 pc 005f0a02  /system/lib/libart.so (art_quick_invoke_stub+338)

    #47 pc 000a2f4e  /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+222)

    #48 pc 0029bb22  /system/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+338)

    #49 pc 00293cc8  /system/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1048)

    #50 pc 005bc353  /system/lib/libart.so (MterpInvokeVirtual+691)

    #51 pc 005e2ba1  /system/lib/libart.so (ExecuteMterpImpl+14241)

    #52 pc 00c0b966  /system/framework/boot-framework.vdex (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)

    #53 pc 00266096  /system/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3007865774+598)

    #54 pc 0026c50e  /system/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+126)

    #55 pc 005a93fd  /system/lib/libart.so (artQuickToInterpreterBridge+1277)

    #56 pc 005f6aed  /system/lib/libart.so (art_quick_to_interpreter_bridge+77)

    #57 pc 00badc2c  /system/framework/x86/boot-framework.oat (offset 0x3ca000) (com.android.internal.os.ZygoteInit.main+3100)

    #58 pc 005f0bd2  /system/lib/libart.so (art_quick_invoke_static_stub+418)

    #59 pc 000a2f5f  /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+239)

    #60 pc 004d3209  /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+89)

    #61 pc 004d2e8d  /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, char*)+429)

    #62 pc 003a770d  /system/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+925)

    #63 pc 000d90f3  /system/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+2867)

    #64 pc 000c6ba9  /system/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+73)

    #65 pc 0007098e  /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+62)

    #66 pc 00073e88  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+744)

    #67 pc 00001bb2  /system/bin/app_process32 (main+1506)

    #68 pc 000c0f54  /system/lib/libc.so (__libc_init+100)

답변 1

답변을 작성해보세요.

0

Android에서 정확한 원인을 알 수 없을 때 주로 나오는 signal 6 에러네요.

정확히 어디가 문제인지는 최근 작성했던 코드를 하나씩 제거하면서 잘 될 때까지 찾아 가는 방법이 있습니다.

원인을 찾아서 거기부터 다시 탐구해야 할 듯 합니다.

먼저 소스코드 비교 한 번 해 보세요.

https://github.com/junsuk5/flutter_insta_clon