Error is app inject Crashlytics Mapping FileId Debug FAILED

Hello Guys, please to generate build in ionic 6 cordova

Task :app:injectCrashlyticsMappingFileIdDebug FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem was found with the configuration of task ‘:app:injectCrashlyticsMappingFileIdDebug’ (type ‘InjectMappingFileIdTask’).
    • In plugin ‘’ type ‘
      dTask’ field ‘resourceFile’ without corresponding getter has been annotated with @OutputFile.

      Reason: Annotations on fields are only used if there’s a corresponding getter for the field.

      Possible solutions:

      1. Add a getter for field ‘resourceFile’.
      2. Remove the annotations on ‘resourceFile’.


Same problem after upgrade from Ionic 5.