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
Resolved using sentry plugin instead of sentry_flutter plugin
Consider running
flutter clean
in the flutter project you are facing such error. Then, run the application again.