Flutter:使用此“[split_config.arm64_v8a.apk!libflutter.so]”在生产应用程序上出现更多崩溃

问题描述 投票:0回答:1

我在 Android 生产版本中遇到错误,但我不知道如何解决它。我已经研究过这个问题,但还没有找到解决方案。以下是 Play 控制台崩溃报告的日志:

Thread
[FATAL:flutter/shell/platform/android/platform_view_android_jni_impl.cc(1327)] Check failed: fml::jni::CheckException(env). 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 25389 >>> com.example.app <<<

backtrace:
  #00  pc 0x00000000000705ac  /apex/com.android.runtime/lib64/bionic/libc.so (abort+160)
  #01  pc 0x0000000000321ed4  /data/app/com.example.app-65HExU3BHjvvqXZVKhlqTQ==/split_config.arm64_v8a.apk!libflutter.so

当 flutter_webview 的高度值超过 6000 时,就会发生这种情况。

有人可以帮我解决这个错误吗?谢谢你。

android ios flutter webview
1个回答
0
投票

检查第三方插件是否导致问题,并尝试将其更新到最新版本。

gradle.properties 中添加这行代码可以解决该问题。

android.bundle.enableUncompressedNativeLibs=false
© www.soinside.com 2019 - 2024. All rights reserved.