当前位置:网站首页>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
边栏推荐
- 在kali上搭建vulhub漏洞靶场
- The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered
- mysql password modification method in Linux (pro-test available)
- How to distinguish big and small endian in C language
- configure:error no SDL library found
- powershell统计文件夹大小
- 2021面经-拥抱变化
- File operations in C language (1)
- UiBot存在已打开的MicrosoftEdge浏览器,无法执行安装
- Xiaobai learns reptiles - introduction to reptiles
猜你喜欢

局部变量成员变量、引用类型、this,static(第五天)

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

Take you to understand the MySQL isolation level, what happens when two transactions operate on the same row of data at the same time?

DeFi Token in the project management

The latest MySql installation teaching, very detailed

Linux修改MySQL数据库密码

常见JVM面试题及答案整理

数据库 | SQL增删改查基础语法

【Elastic-Job源码分析】——作业监听器

元宇宙的前景及四大赛道
随机推荐
【JVM加载】---类加载机制
win11中利用IIS10搭建asp网站
Oracle数据库中的“limit”查询
【云原生】微服务Nacos的简单介绍与使用
纯shell实现文本替换
MySQL错误-this is incompatible with sql_mode=only_full_group_by完美解决方案
2021 Mianjing - Embrace Change
quick-3.5 无法正常显示有混合纹理的csb文件
Eternal blue bug reappears
(Crypto必备干货)详细分析目前NFT的几大交易市场
configure:error no SDL library found
File operations in C language (1)
一文速学-玩转MySQL获取时间、格式转换各类操作方法详解
sqlmap injection tutorial common commands
js中的break与continue退出
NFT:数字所有权的核心
The MySQL database in Alibaba Cloud was attacked, and the data was finally recovered
cocos2d-x 实现跨平台的目录遍历
powershell统计文件夹大小
对于输出点是时间戳的渗透测试方法(以Oracle数据库为例)