执行flutter clean等操作后Gradle构建无法生成APK文件的问题求助
执行flutter clean等操作后Gradle构建无法生成APK文件的问题求助
我在执行了flutter clean、File -> Invalidate Caches,再通过flutter pub get重新构建Flutter项目后,遇到了一个超烦人的问题!
运行项目时弹出了这个该死的提示:
Gradle build failed to produce an .apk file. It's likely that this file was generated under ~
\build, but the tool couldn't find it.

有没有大佬能帮帮我啊?到底该怎么解决这个破问题?还有为啥Gradle就是生成不了APK啊?
备注:内容来源于stack exchange,提问作者Ahmed Nussair




