FlutterRadioPlayer icon indicating copy to clipboard operation
FlutterRadioPlayer copied to clipboard

Problem with SDK 30

Open leandregg opened this issue 3 years ago • 3 comments

Hello, Now in PlayStore it is mandatory to upload an app with SDK 30. This library gives an error when compiling in that version.

Error log:

e: C:\Users\leand\flutter.pub-cache\hosted\pub.dartlang.org\flutter_radio_player-1.0.7\android\src\main\kotlin\me\sithiramunasinghe\flutter\flutter_radio_player\core\StreamingCore.kt: (121, 90): Type mismatch: inferred type is String? but String was expected e: C:\Users\leand\flutter.pub-cache\hosted\pub.dartlang.org\flutter_radio_player-1.0.7\android\src\main\kotlin\me\sithiramunasinghe\flutter\flutter_radio_player\core\StreamingCore.kt: (123, 63): Type mismatch: inferred type is String? but String was expected e: C:\Users\leand\flutter.pub-cache\hosted\pub.dartlang.org\flutter_radio_player-1.0.7\android\src\main\kotlin\me\sithiramunasinghe\flutter\flutter_radio_player\core\StreamingCore.kt: (174, 32): 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_player:compileReleaseKotlin'.

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

BUILD FAILED in 1m 19s

leandregg avatar Aug 18 '21 17:08 leandregg

Looking into this. Thank for the report

Sithira avatar Aug 23 '21 09:08 Sithira

Any updates on that as I am facing the same issue and I am unable to build my app?

NikiTsitsiroudi avatar Sep 10 '21 13:09 NikiTsitsiroudi

@Sithira please take an action on this issue as soon as possible.

ashishCodixel avatar Aug 04 '22 11:08 ashishCodixel

Has been updated to v2. Please check the master branch

Sithira avatar Oct 14 '22 19:10 Sithira