Flutter打包Android Release APK 报错 ':app:minifyReleaseWithProguard'

416 阅读1分钟

报错信息:

Execution failed for task ':app:minifyReleaseWithProguard'.

java.io.IOException: Please correct the above warnings first.

image.png

几经查询,终于找到这里。

github.com/flutter/flu…

android.enableR8=true

修改此配置,重新打包,问题解决。