nb_utils icon indicating copy to clipboard operation
nb_utils copied to clipboard

'main class' issue

Open syedgulahmed opened this issue 3 years ago • 6 comments

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.

syedgulahmed avatar Sep 23 '21 15:09 syedgulahmed

can you explain when you are getting this error?

bhoominn avatar Sep 25 '21 09:09 bhoominn

hello?

bhoominn avatar Mar 17 '22 17:03 bhoominn

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

princeflutterdev avatar May 20 '22 07:05 princeflutterdev

Okay, will fix this issue soon.

bhoominn avatar May 20 '22 07:05 bhoominn

Hi, Please use the latest version of nb_utils available on the pub.dev and let me know if it works or not.

bhoominn avatar Jan 26 '23 11:01 bhoominn

Can i close this issue if it is resolved?

bhoominn avatar Aug 27 '23 08:08 bhoominn