Flutter build runner - pub finished with exit code 65 Flutter build runner - pub finished with exit code 65 flutter flutter

Flutter build runner - pub finished with exit code 65


Your issue here may be related to the following import

  flutter_gen: ^3.0.2

My analysis here was to use the dependency_overrides implementation on another package (I used image_cropper) and I had the exact same issue.

I didn't work with this library so I can't help you more than that, but I saw issues on the official Flutter Github mentioning this library and the problems it could create when editing the pubspec file.

Edit
Since it may help a lot of people in the future, I created an issue on the flutter_gen Github

Edit 2
A contributor of the flutter_gen package answered to the Github Issue.
You have to replace your flutter_gen import with flutter_gen_runner.

flutter_gen_runner: ^3.0.2


Try the following command

flutter pub cache repair


Try the following lines

flutter_icons: android: true ios: true image_path: "assets/logo/cup.png" adaptive_icon_background : "#fff" adaptive_icon_foreground : "assets/logo/cup.png"

I created "assets" folder and placed the "cup.png" (any icon image)