Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Exception FATAL:flutter/shell/platform/android/platform_view_android_jni.cc in flutter

F/flutter (13556): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(60)] Check failed: CheckException(env). 
F/libc    (13556): Fatal signal 6 (SIGABRT), code -6 in tid 13556 (yapp.mysurvey)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'HUAWEI/MHA-L29/HWMHA:8.0.0/HUAWEIMHA-L29/366(C636):user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 13556, tid: 13556, name: yapp.mysurvey>>> com.myapp.mysurvey <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
Abort message: '[FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(60)] Check failed: CheckException(env). 

I got this error the app is build.

I got included this in my pubspec.ymal file

  firebase_auth: ^0.5.5
  firebase_database: ^0.4.6
  firebase_storage: ^0.3.0
  f_grecaptcha: ^1.0.0
like image 772
kong Morris Avatar asked May 03 '18 08:05

kong Morris


2 Answers

Fixed the issue, in app/build.gradle add the following code but the APK size will increase i.e from 31MB to 35MB.

 buildTypes {
    release {
       
        minifyEnabled false
        shrinkResources false
like image 115
jibril90 Avatar answered Nov 09 '22 13:11

jibril90


@jibril90 Thanks! It it helps me.

This code in app/build.gradle fixed an issue, but increased app size (ok in my case):

buildTypes {
    release {
        minifyEnabled false
        shrinkResources false
      ...
like image 35
Ilia vialikov Avatar answered Nov 09 '22 13:11

Ilia vialikov