skip to Main Content

Since I have upgraded flutter, I am getting this error :

/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java:179:
error: cannot find symbol
flutterEngine.getPlugins().add(new io.sentry.flutter.SentryFlutterPlugin());
^ symbol: class SentryFlutterPlugin location: package io.sentry.flutter

I have upgraded all plugins and run flutter clean.

Build.gradle : implementation ‘io.sentry:sentry-android:6.34.0’

2

Answers


  1. Chosen as BEST ANSWER

    Resolved using sentry plugin instead of sentry_flutter plugin


  2. Consider running flutter clean in the flutter project you are facing such error. Then, run the application again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search