当前位置:网站首页>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
边栏推荐
- (Crypto essential dry goods) Detailed analysis of the current NFT trading markets
- cocos2d-x-3.2创建项目方法
- 腾讯云GPU桌面服务器驱动安装
- The server time zone value ‘й‘ is unrecognized or represents more than one time zone
- [Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version
- sqlmap injection tutorial common commands
- 为什么redis是单线程还那么快?
- Linux modify MySQL database password
- GUCCI、LV等奢侈品巨头如何布局元宇宙的,其他品牌应该跟上吗?
- npm WARN config global `--global`, `--local` are deprecated. Use `--location solution
猜你喜欢

Linux modify MySQL database password

动态规划(一)| 斐波那契数列和归递

win11中利用IIS10搭建asp网站

Error: Cannot find module ‘D:\Application\nodejs\node_modules\npm\bin\npm-cli.js‘

腾讯云GPU桌面服务器驱动安装

【ubuntu20.04安装MySQL以及MySQL-workbench可视化工具】

带你搞懂MySQL隔离级别,两个事务同时操作同一行数据会怎样?

(Crypto essential dry goods) Detailed analysis of the current NFT trading markets

js中的对象与函数的理解

【swagger关闭】生产环境关闭swagger方法
随机推荐
Attribute Changer的几种形态
npm WARN config global `--global`, `--local` are deprecated. Use `--location solution
工件SSMwar exploded 部署工件时出错。请参阅服务器日志了解详细信息
npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案
Getting to know regular expressions
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
NFT:数字所有权的核心
Xiaobai learns reptiles - introduction to reptiles
Error: Cannot find module 'D:\Application\nodejs\node_modules\npm\bin\npm-cli.js'
Install mysqldb in mac10.14
永恒之蓝漏洞复现
Oracle数据库中的“limit”查询
How to distinguish big and small endian in C language
MySQL面试题大全(陆续更新)
quick-3.5 ActionTimeline的setLastFrameCallFunc调用会崩溃问题
MySQL compressed package installation, fool teaching
纯shell实现文本替换
mysql password modification method in Linux (pro-test available)
feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
Yuan prospect and four track of the universe