当前位置:网站首页>couldn't find 'libflutter.so' --flutter
couldn't find 'libflutter.so' --flutter
2022-08-02 14:11:00 【海无垠】
由于 libflutter.so 的问题,或者说是安卓编译架构的问题,在编译运行后打开flutter显示的那个页面可能会出现 couldn’t find libflutter.so 的问题,解决办法是只使用 armeabi-v7a, 具体配置是修改 app/build.gradle 文档,如下:
android{
defaultConfig{
ndk {
abiFilters “armeabi-v7a”, “x86”
}
}
buildTypes {
debug {
ndk {
abiFilters “armeabi-v7a”, “x86”
}
}
release {
ndk {
abiFilters “armeabi-v7a”
}
}
}
}
按照以上配置,就不会出现so库找不到的问题了!
边栏推荐
猜你喜欢

MATLAB绘图函数fplot详解

1. Development community homepage, register

第二十九章:树的基本概念和性质

Open the door to electricity "Circuit" (3): Talk about different resistance and conductance

Win11 keeps popping up User Account Control how to fix it

网络安全抓包

轻量化AlphaPose

Win10 computer can't read U disk?Don't recognize U disk how to solve?

深入理解Golang之Map

Mysql之MVCC
随机推荐
二叉排序树与 set、map
2021-10-14
【离散化+前缀和】Acwing802. 区间和
C语言函数参数传递模式入门详解
第三十二章:二叉树的存储与遍历
word方框怎么打勾?
LeetCode 2343. 裁剪数字后查询第 K 小的数字 暴力+语法考察
第二十五章:一文掌握while循环
Win11 keeps popping up User Account Control how to fix it
How to simulate 1/3 probability with coins, and arbitrary probability?
Lightweight AlphaPose
Happy, 9/28 scene collection
模板系列-二分
Redis常见面试题
深入理解Golang之Map
General code for pytorch model to libtorch and onnx format
2342. 数位和相等数对的最大和 哈希优化
Detailed introduction to drawing complex surfaces using the plot_surface command
pygame拖动条的实现方法
专硕与学硕