Solved

Error while generate appbundle with Flutter

  • 16 May 2022
  • 1 reply
  • 89 views

Badge

Hello,
i’ve integrate my app with Amplitude and he works fine, build app and send events, all its OK.
But, my problem is when i try generate the appbundle (.aab) of my application with command flutter build appbundle.
The problem was started when i installed the pub flutter_amplitude, i try install all versions, but the problem persists.

If i remove the amplitude, i can generate the appbundle without problems.

The error showed on the terminal is:
Gradle build failed to produce an .aab file. It's likely that this file was generated under C:\dev\myapp\build, but the tool couldn't find it.

I’m using:
Flutter: 2.5.3
Dart version 2.14.4

Anyone can help me, please? Thanks!!

icon

Best answer by allanthomasof 16 May 2022, 16:33

View original

1 reply

Badge

Problem solved!!
The error was caused by plugin flutter_config, i remove him and the appbundle was generate with success!

Reply