'Android app bundle error / Proguard-android-optimze.txt

Im trying to build a bundle for a new flutter app I made but i get this error

> Default file proguard-android-optimize.txt should not be specified in this module. It can be specified in the base module instead


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source