-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Description
Is there an existing issue for this?
- I have searched the existing issues
- I have read the guide to filing a bug
Steps to reproduce
Running "flutter pub get" in sly_calculator... 1,030ms
The plugin camera_android doesn't have a main class defined in
C:\Users\test\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\camera_android-0.10.8+1\android\src\main\java\io\flutter\plugins\camera\CameraPlugin.java or
C:\Users\test\AppData\Local\Pub\Cache\hosted\pub.flutter-io.cn\camera_android-0.10.8+1\android\src\main\kotlin\io\flutter\plugins\camera\CameraPlugin.kt. This is likely to due
to an incorrect androidPackage: io.flutter.plugins.camera or mainClass entry in the plugin's pubspec.yaml.
If you are the author of this plugin, fix the androidPackage entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin
and consider using a different plugin in the meanwhile.
Expected results
1
Actual results
1
Code sample
1
Screenshots or Video
1
Logs
1
Flutter Doctor output
Flutter version 3.3.7