I am working on a Flutter project using the awesome_notifications plugin (version 0.9.3+1 also try new version), and I am encountering build errors when running flutter build apk or flutter run.
C:\Users...\awesome_notifications\AwesomeNotificationsPlugin.java:22: error: cannot find symbol import io.flutter.pluginmon.PluginRegistry.Registrar; ^ symbol: class Registrar location: interface PluginRegistry
C:\Users...\FlutterBitmapUtils.java:12: error: cannot find symbol import io.flutter.view.FlutterMain; ^ symbol: class FlutterMain location: package io.flutter.view
I am working on a Flutter project using the awesome_notifications plugin (version 0.9.3+1 also try new version), and I am encountering build errors when running flutter build apk or flutter run.
C:\Users...\awesome_notifications\AwesomeNotificationsPlugin.java:22: error: cannot find symbol import io.flutter.pluginmon.PluginRegistry.Registrar; ^ symbol: class Registrar location: interface PluginRegistry
C:\Users...\FlutterBitmapUtils.java:12: error: cannot find symbol import io.flutter.view.FlutterMain; ^ symbol: class FlutterMain location: package io.flutter.view
Share Improve this question asked Mar 28 at 12:43 rajadurai indiumrajadurai indium 11 Answer
Reset to default 0This is a issue with the deprecated Flutter V1 libraries on Android.
Updating to the latest version of the `awesome_notifications` plugin(v 0.10.1) show do fix this as the issue has been fixed by the plugin authors.