Flutter 打包出错 报Gradle build failed to produce an .apk file. It’s likely that this file was generated
Gradle build failed to produce an .apk file. It’s likely that this file was generated under D:\codeMaster\huibobo_iphone\huibobo\build, but the tool couldn’t find it.原因:flavor渠道错误,如果在buildle.gradle中声明了渠道,那么在执行flutter run --profile 的时候添加上渠道就好。解决:如图,若渠道是这样
原创
2021-03-10 14:39:22 ·
6315 阅读 ·
0 评论