当前位置:网站首页>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
边栏推荐
- [Cloud native] Simple introduction and use of microservice Nacos
- What is an EVM Compatible Chain?
- 腾讯云轻量服务器删除所有防火墙规则
- 【云原生】微服务Nacos的简单介绍与使用
- 【windows】--- SQL Server 2008 超详细安装教程
- [Elastic-Job source code analysis] - job listener
- quick lua加密
- Build DVWA with phpstudy
- C language tutorial (1) - preparation
- Markdown 帮助文档
猜你喜欢
随机推荐
GUCCI, LV and other luxury giant universe how to layout yuan, other brands should keep up with?
CMOS管原理,及其在推挽电路中的应用
Take you to understand the MySQL isolation level, what happens when two transactions operate on the same row of data at the same time?
阿里云中mysql数据库被攻击了,最终数据找回来了
在kali上搭建vulhub漏洞靶场
Regular Expression Basics
年终总结——岁月静好~
[Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version
什么是EVM兼容链?
sql 添加 default 约束
cocos2d-x-3.2 Physics
局部变量成员变量、引用类型、this,static(第五天)
对js的数组的理解
Linux modify MySQL database password
Hyper-V新建虚拟机注意事项
5 methods of MySQL paging query
What is GameFi?
npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案
For penetration testing methods where the output point is a timestamp (take Oracle database as an example)
场效应管 | N-mos内部结构详解








