thyagoluciano / flutter_radio

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

Can not build app. #4

Closed fakur closed 5 years ago

fakur commented 5 years ago

Hi, i found this error when build the app right after added fluter_radio dependecy in pubspec.yaml.

what should i do?

D:\Flutter\flutter\.pub-cache\hosted\pub.dartlang.org\flutter_radio-0.1.0\android\src\main\kotlin\br\com\thyagoluciano\flutterradio\FlutterRadioPlugin.kt: (31, 24): Type inference failed. Expected type mismatch: inferred type is String? but String was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':flutter_radio:compileDebugKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org
incafox commented 5 years ago

same error here

thyagoluciano commented 5 years ago

Hi, Really was taking place this error, I just came up a fix. Thank you.