Flutter:build/app/outputs下的apk/release目录和flutter-apk目录有啥区别?
Posted
技术标签:
【中文标题】Flutter:build/app/outputs下的apk/release目录和flutter-apk目录有啥区别?【英文标题】:Flutter: What is the difference between the apk/release directory and flutter-apk directory under build/app/outputs?Flutter:build/app/outputs下的apk/release目录和flutter-apk目录有什么区别? 【发布时间】:2020-11-04 16:09:23 【问题描述】:当我运行flutter build apk --split-per-abi
时,我两次获得三个 apk:一次在 build/app/outputs/apk/release 目录下,一次在 build/app/outputs/flutter-apk 下。这两个目录有什么区别?
【问题讨论】:
【参考方案1】:它们是一样的。旧版本的颤振使用outputs/apk/release
目录,但他们最近将其更改为outputs/flutter-apk
。保留旧目录是为了与其他构建工具兼容。
【讨论】:
以上是关于Flutter:build/app/outputs下的apk/release目录和flutter-apk目录有啥区别?的主要内容,如果未能解决你的问题,请参考以下文章
Flutter:build/app/outputs下的apk/release目录和flutter-apk目录有啥区别?
Flutter ADB 错误:ADB 以退出代码 1 退出执行流式安装