0
votes

Been looking around haven't find any fix for this problem with flutter:

[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: MissingPluginException(No implementation found for method setCurrentScreen on channel plugins.flutter.io/firebase_analytics)

Using firebase_analytics: ^5.0.6 in my flutter dependencies.

1

1 Answers

0
votes

In your android/app/build.gradle file set the minSdkVersion 21 or add this implementation "androidx.multidex:multidex:2.0.0" in your dependencies at android/app/build.gradle file

from : https://github.com/FirebaseExtended/flutterfire/issues/1401

The second option worked for me I guess because I made the migration to AndroidX.

My suggestion to you is to make the AndroidX migration and then try the second option.