当前位置:网站首页>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库找不到的问题了!
边栏推荐
- 二叉排序树与 set、map
- pytorch模型转libtorch和onnx格式的通用代码
- IPV4和IPV6是什么?
- LeetCode 2343. 裁剪数字后查询第 K 小的数字 暴力+语法考察
- [System Design and Implementation] Flink-based distracted driving prediction and data analysis system
- 总结计算机网络超全面试题
- Summarize computer network super comprehensive test questions
- Use tencent cloud builds a personal blog
- flink+sklearn——使用jpmml实现flink上的机器学习模型部署
- jest test, component test
猜你喜欢

MATLAB绘图命令fimplicit绘制隐函数图形入门详解

STM32LL库——USART中断接收不定长信息

What should I do if Windows 10 cannot connect to the printer?Solutions for not using the printer

mysql的索引结构为什么选用B+树?

win10 system update error code 0x80244022 how to do

1.开发社区首页,注册

5. Transaction management

MATLAB制作简易小动画入门详解

4.发布帖子,评论帖子

Win10 computer can't read U disk?Don't recognize U disk how to solve?
随机推荐
[System Design and Implementation] Flink-based distracted driving prediction and data analysis system
【离散化+前缀和】Acwing802. 区间和
MATLAB绘图函数plot详解
【STM32学习1】基础知识与概念明晰
Redis常见面试题
Publish module to NPM should be how to operate?Solutions to problems and mistake
远程连接Ubuntu中的Mysql
3. User upload avatar
cmake配置libtorch报错Failed to compute shorthash for libnvrtc.so
奇技淫巧-位运算
2021-06-06
What is Win10 God Mode for?How to enable God Mode in Windows 10?
Configure clangd for vscode
Codeforces Round #605 (Div. 3)
Happy, 9/28 scene collection
In-depth understanding of Golang's Map
二叉树遍历之后序遍历(非递归、递归)入门详解
为vscode配置clangd
General syntax and usage instructions of SQL (picture and text)
KiCad常用快捷键