Home > Net >  Flutter build apk showring: Execution failed for task ':firebase_core:generateReleaseRFile'
Flutter build apk showring: Execution failed for task ':firebase_core:generateReleaseRFile'

Time:07-20

I'm building a flutter app and while I try to build an apk using flutter build apk, this error is being thrown enter image description here

I tried flutter clean and then flutter build apk but that didn't fix the problem either. After clearing gradle cache, this showed up.

enter image description here

Any solutions come to mind? Any help will be greatly appreciated.

CodePudding user response:

Probably a bad gradle cache. Did you run out of disk space at some point?

See this StackOverflow question on how to clear the gradle cache: How to clear gradle cache?

CodePudding user response:

Checkout that your gradle plugin is compatible with your gradle version. https://developer.android.com/studio/releases/gradle-plugin#updating-gradle

  • Related