将完成的flutter软件打包为apk:
视频版:
【前端教程-Flutter篇-flutter之打包安卓版本的APP】https://www.bilibili.com/video/BV11K4y1S7Sg?vd_source=c008a8e3bd95154e374408adc754394a
文字版:Flutter 打包APP (Android & IOS)_encountered error while building for device.-CSDN博客
过程中可能遇到的问题:
flutter build apk Execution failed for task ':app:compileFlutterBuildRelease'. - 知乎 (zhihu.com)
说明真正打包失败问题的原因在log上部,其实是icon前面没有加const,打包失败;解决方案有:
flutter打包报错This application cannot tree shake icons fonts. It has non-constant instances of IconData-CSDN博客
尝试了:用命令 flutter build apk --no-tree-shake-icons 来打包,(不过这个方法不建议,因为以后都不能用菜单中的Build Apk来打包了。。。)
最后打包完成,

但是文件出现的挺慢的,过了很久之后,才真正出现了对应的文件。






![web:[MRCTF2020]你传你呢](https://img-blog.csdnimg.cn/77af0d7581df42f495d71654f1a6ae64.png)





![[RoarCTF 2019]Easy Calc - RCE(函数输出)+参数waf绕过(PHP字符串解析特性)](https://img-blog.csdnimg.cn/c7f317152a3e4c8fa843a533f0e36fb0.png#pic_center)






