2

I am trying to make a single package for dealing with permissions and data flow for this I have used different plugins and packages as a dependency on this package. But some plugins throw errors of missing plugin exception.

Does anyone know the reason behind it? It's working fine before flutter version 3.0. But not working now.

2
  • Have you tried to upgrade dependencies? Commented Aug 18, 2022 at 5:39
  • I am using the latest dependencies Commented Aug 18, 2022 at 5:56

2 Answers 2

0

Try the following commands in the terminal;

  1. flutter clean

  2. flutter pub get

1
  • I already tried this, doesn't work also tried invalidating caches. Commented Aug 18, 2022 at 5:19
0

The issue is with flutter activity binding. I solved it by doing these steps.

  1. Go to your_app/android/app/src/main/AndroidManifest.xml
  2. Search for activity tag.
  3. Change android:name=".MainActivity" to android:name="io.flutter.embedding.android.FlutterActivity"

This will solve the issue.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.