I am new in Flutter. your project runs fine standalone. but when I add plugin into my project it gives following..
Please note I just only added into pubspec.yaml
The plugin urdulughat doesn't have a main class defined in D:\Projects\flutter\urdu_lughat\android\src\main\java\br\com\thyagoluciano\flutterradio\FlutterRadioPlugin.java or D:\Projects\flutter\urdu_lughat\android\src\main\kotlin\br\com\thyagoluciano\flutterradio\FlutterRadioPlugin.kt. This is likely to due to an incorrect androidPackage: br.com.thyagoluciano.flutterradio 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.
I am new in Flutter. your project runs fine standalone. but when I add plugin into my project it gives following.. Please note I just only added into pubspec.yaml
The plugin
urdulughat
doesn't have a main class defined in D:\Projects\flutter\urdu_lughat\android\src\main\java\br\com\thyagoluciano\flutterradio\FlutterRadioPlugin.java or D:\Projects\flutter\urdu_lughat\android\src\main\kotlin\br\com\thyagoluciano\flutterradio\FlutterRadioPlugin.kt. This is likely to due to an incorrectandroidPackage: br.com.thyagoluciano.flutterradio
ormainClass
entry in the plugin's pubspec.yaml. If you are the author of this plugin, fix theandroidPackage
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.