当前位置:网站首页>flutter arr dependencies
flutter arr dependencies
2022-07-31 05:58:00 【work hard for today】
One: Prepare the android project
Two: Prepare the flutter_library, and the arr package
1. Use the command line to generate the flutter_library [module name], it is recommended to create it in the same level directory of android
flutter create -t module flutter_library
android studio creation: Flutter Hybrid Development Module Dependencies 2. The command to generate aar package is as follows Three: android studio project access 3.libflutter.so could not find the problem solution
flutter build apk --debug // test version
flutter build apk--release // release version
flutter-debug corresponding directory.android/Flutter/build/outputs/aar/
1.flutter-debug.aar package import libs directory
2.app directory build.gradle add dependencies// Method 1dependencies {...implementation files('libs/flutter-debug.aar')}// method tworepositories {flatDir { dirs 'libs' }}dependencies {...implementation(name: 'flutter-debug', ext: 'aar')}
Unzip the generated apk, find the corresponding libflutter.so, and copy it to the directory of the corresponding project.
64 version corresponds to arm64-v8a
libs-->arm64-v8a // 64-bit
-->arm64-v7a // 32-bit
-->x86 // mobile phone emulator
apk corresponding directory: flutter_library\build\host\outputs\apk\debug\app-debug.apk
module mode dependency: flutter hybrid development module dependency_Blog for today - CSDN Blog
边栏推荐
- [windows]--- SQL Server 2008 super detailed installation tutorial
- "limit" query in Oracle database
- Access数据库的查询
- [Cloud native] Open source data analysis SPL easily copes with T+0
- 场效应管 | N-mos内部结构详解
- cocos2d-x 实现跨平台的目录遍历
- 阿里云中mysql数据库被攻击了,最终数据找回来了
- podspec自动化升级脚本
- 【云原生】原来2020.0.X版本开始的OpenFeign底层不再使用Ribbon了
- Several solutions for mysql startup error The server quit without updating PID file
猜你喜欢
![[JVM Loading]---Class Loading Mechanism](/img/b6/d1754cb6699d18602ca9a463571c0c.png)
[JVM Loading]---Class Loading Mechanism

【云原生】开源数据分析 SPL 轻松应对 T+0

为什么bash中的read要配合while才能读取/dev/stdin的内容

碎片化NFT(Fractional NFT)

继承、Super,重写、抽象类、抽象方法 1(第七天)

What is the difference between NFT and digital collection?

The latest MySql installation teaching, very detailed

npm WARN config global `--global`, `--local` are deprecated. Use `--location solution

GUCCI, LV and other luxury giant universe how to layout yuan, other brands should keep up with?

flutter 混合开发 module 依赖
随机推荐
cocos2d-x-3.2 不能混合颜色修改
powershell统计文件夹大小
Year-end summary - the years are quiet~
sql 外键约束【表关系绑定】
[windows]--- SQL Server 2008 super detailed installation tutorial
MySQL面试题大全(陆续更新)
Common JVM interview questions and answers
Powershell中UTF-8环境中文乱码解决办法
js中的break与continue退出
Error: Cannot find module ‘D:\Application\nodejs\node_modules\npm\bin\npm-cli.js‘
一个简单的bash转powershell案例
NFTs: The Heart of Digital Ownership
MySQL compressed package installation, fool teaching
Understanding SSRF, this article is enough
代码执行漏洞
MySQL压缩包方式安装,傻瓜式教学
cocos2d-x-3.2 Physics
js中的全局作用域与函数作用域
feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
继承、Super,重写、抽象类、抽象方法 1(第七天)