thyagoluciano / flutter_radio

Radio station streaming example with ExoPlayer and Flutter.
GNU General Public License v3.0
86 stars 41 forks source link

implementing in new project #47

Closed talk2urfi closed 4 years ago

talk2urfi commented 4 years ago

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.