当前位置:网站首页>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
边栏推荐
- js中的函数
- podspec自动化升级脚本
- NFT与数字藏品到底有何区别?
- Yuan prospect and four track of the universe
- mysql启动报错The server quit without updating PID file几种解决办法
- feign调用不通问题,JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
- 初识正则表达式
- CMOS管原理,及其在推挽电路中的应用
- [Cloud native] Ribbon is no longer used at the bottom layer of OpenFeign starting from the 2020.0.X version
- [uiautomation] Get WeChat friend list (stored in txt)
猜你喜欢

For penetration testing methods where the output point is a timestamp (take Oracle database as an example)

npm WARN config global `--global`, `--local` are deprecated. Use `--location solution

The server time zone value ‘й‘ is unrecognized or represents more than one time zone

js中的全局作用域与函数作用域

自定dialog 布局没有居中解决方案

MySQL高级SQL语句(二)

年终总结——岁月静好~

阿里一面,说说你知道消息中间件的应用场景有哪些?

npm WARN config global `--global`, `--local` are deprecated. Use `--location解决方案

Linux中mysql密码修改方法(亲测可用)
随机推荐
Error: Cannot find module ‘D:\Application\nodejs\node_modules\npm\bin\npm-cli.js‘
为什么bash中的read要配合while才能读取/dev/stdin的内容
动态规划(一)| 斐波那契数列和归递
碎片化NFT(Fractional NFT)
What is GameFi?
The feign call fails, JSON parse error Illegal character ((CTRL-CHAR, code 31)) only regular white space (r
数字孪生将成为进入“元宇宙”一项重要的途径
js中的this指向与原型对象
对于输出点是时间戳的渗透测试方法(以Oracle数据库为例)
【JVM加载】---类加载机制
Yuan prospect and four track of the universe
Linux modify MySQL database password
Getting to know regular expressions
js中的对象与函数的理解
cocos create EditBox 输入文字被刘海屏遮挡修改
Using IIS10 to build an asp website in win11
sqlite 查看表结构 android.database.sqlite.SQLiteException: table splitTable has no column named
Regular Expression Basics
(Crypto必备干货)详细分析目前NFT的几大交易市场
年终总结——岁月静好~