flutter开发Gradle build failed to produce an .apk file. It's likely that this file was问题解决方法

1. 问题现象

  • 项目构建成功,运行的时候出现Gradle build failed to produce an .apk file. It's likely that this file was...

2. 原因分析

  • 运行项目没有选择好项目当中支持发flavor,导致没方法构建出相应flavor的apk

3. 解决方法

  • 先查看项目有哪些flavor,比如截图当中的就有个development分类

posted @ 2024-09-30 18:52  yongfengnice  阅读(463)  评论(0编辑  收藏  举报