nb_utils
nb_utils copied to clipboard
'main class' issue
Hello, I'm facing an issue with this package. This is the error I'm getting. Kindly, help me asap.
The plugin nb_utils
doesn't have a main class defined in
E:\development\flutter.pub-cache\hosted\pub.dartlang.org\nb_utils-4.4.9\android\src\main\java\com\nb\nb_utils\NbUtilsPlugin.java or
E:\development\flutter.pub-cache\hosted\pub.dartlang.org\nb_utils-4.4.9\android\src\main\kotlin\com\nb\nb_utils\NbUtilsPlugin.kt. This is likely to due to an incorrect androidPackage: com.nb.nb_utils
or mainClass
entry inthe 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.
can you explain when you are getting this error?
hello?
i am also getting the same issue
so i am using the latest version of this package /C:/development/Flutter-Latest/.pub-cache/hosted/pub.dartlang.org/nb_utils-4.5.2/lib/nb_utils.dart:69:1: Error: 'RichTextWidget' is exported from both 'package:nb_utils/src/utils/text_styles.dart' and 'package:nb_utils/src/widgets/RichTextWidget.dart'. export 'src/widgets/RichTextWidget.dart'; ^ : Error: 'RichTextWidget' is exported from both 'package:nb_utils/src/utils/text_styles.dart' and 'package:nb_utils/src/widgets/RichTextWidget.dart'.
this is the issue
Okay, will fix this issue soon.
Hi, Please use the latest version of nb_utils available on the pub.dev and let me know if it works or not.
Can i close this issue if it is resolved?