0

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.plugin.common.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

1 Answer 1

0

This 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.

awesome_notifications plugin versions 0.10.1

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.