carp-dk / carp-dk/flutter-plugins
[Screen usage] flutter pub get error
- Dominant language
- Dart
- Stars
- 608
- Forks
- 735
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
OS: Android
flutter pub get error:
The plugin `screen_usage` doesn't have a main class defined in /Users/mymac/dev/flutter/.pub-cache/hosted/pub.dartlang.org/screen_usage-0.0.4/android/src/main/java/dk/cachet/screenusage/ScreenUsagePlugin.java or /Users/mymac/dev/flutter/.pub-cache/hosted/pub.dartlang.org/screen_usage-0.0.4/android/src/main/kotlin/dk/cachet/screenusage/ScreenUsagePlugin.kt. This is likely to due to an incorrect `androidPackage: dk.cachet.screenusage` 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.
### To Reproduce
run `flutter pub get`
### Other information
`flutter pub cache repair` won't fix the issue
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.