当前位置:网站首页>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
边栏推荐
- quick-3.5 无法使用模拟器修改
- 【swagger关闭】生产环境关闭swagger方法
- 工件SSMwar exploded 部署工件时出错。请参阅服务器日志了解详细信息
- sql 外键约束【表关系绑定】
- configure:error no SDL library found
- 【Elastic-Job】分布式调度任务概览篇
- cocoscreator 显示刘海内容
- NFTs: The Heart of Digital Ownership
- Error: Cannot find module ‘D:\Application\nodejs\node_modules\npm\bin\npm-cli.js‘
- 2021年京东数据分析工程师秋招笔试编程题
猜你喜欢
随机推荐
Using IIS10 to build an asp website in win11
Take you to understand the MySQL isolation level, what happens when two transactions operate on the same row of data at the same time?
场效应管 | N-mos内部结构详解
quick-3.5 无法正常显示有混合纹理的csb文件
NFTs: The Heart of Digital Ownership
[Cloud native] Open source data analysis SPL easily copes with T+0
阿里一面,说说你知道消息中间件的应用场景有哪些?
Xiaobai learns reptiles - introduction to reptiles
Gradle sync failed: Uninitialized object exists on backward branch 142
Regular Expression Basics
Detailed explanation of pointers in C language
MySQL压缩包方式安装,傻瓜式教学
mysql启动报错The server quit without updating PID file几种解决办法
为什么bash中的read要配合while才能读取/dev/stdin的内容
configure:error no SDL library found
npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案
quick-3.5 无法使用模拟器修改
Yuan prospect and four track of the universe
sqlmap injection tutorial common commands
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案



![[Elastic-Job source code analysis] - job listener](/img/99/5e047b1aa83aad7d7f17b4eec606e6.png)





