当前位置:网站首页>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
边栏推荐
猜你喜欢
常见JVM面试题及答案整理
一文速学-玩转MySQL获取时间、格式转换各类操作方法详解
永恒之蓝漏洞复现
(Crypto必备干货)详细分析目前NFT的几大交易市场
[Cloud native] Open source data analysis SPL easily copes with T+0
自定dialog 布局没有居中解决方案
Access数据库的查询
初识正则表达式
【swagger关闭】生产环境关闭swagger方法
The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
随机推荐
安装Multisim出现 No software will be installed or removed解决方法
Detailed explanation of pointers in C language
cocos2d-x-3.2 不能混合颜色修改
数字孪生将成为进入“元宇宙”一项重要的途径
【uiautomation】微信好友列表获取(存储到txt中)
[Elastic-Job source code analysis] - job listener
About integrating superset into your own project
cocos2d-x-3.x 修改和纪录
quick-3.5 lua调用c++
Take you to understand the MySQL isolation level, what happens when two transactions operate on the same row of data at the same time?
Fragmented NFT (Fractional NFT)
How MySQL - depots table?A look at will understand
代码执行漏洞
UiBot存在已打开的MicrosoftEdge浏览器,无法执行安装
理解js运算符
feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
sql 添加 default 约束
sqlmap injection tutorial common commands
【Elastic-Job源码分析】——作业监听器
The latest MySql installation teaching, very detailed