When running the app on Android emulator, the following error occurs.
\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:24: error: package net.jonhanson.flutter_native_splash does not exist
flutterEngine.getPlugins().add(new net.jonhanson.flutter_native_splash.FlutterNativeSplashPlugin());
Attention: If you open a bug report without sufficient details, it will be closed. Is your question related to Android 12? Please check the notes on Android 12 first (https://pub.dev/packages/flutter_native_splash#android-12-support).
Describe the bug
When running the app on Android emulator, the following error occurs.
\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java:24: error: package net.jonhanson.flutter_native_splash does not exist flutterEngine.getPlugins().add(new net.jonhanson.flutter_native_splash.FlutterNativeSplashPlugin());
Configuration
flutter_native_splash: color: "#EEE8DC" image: assets/images/splash_bear.png
android_12: color: "#EEE8DC" image: assets/images/splash_bear.png
Device (please complete the following information):
To Reproduce Steps to reproduce the behavior, using the example app:
Screenshots If applicable, add screenshots to help explain your problem. If in doubt, attach a screenshot.
Additional context Add any other context about the problem here.