Closed redimongo closed 4 years ago
I think you need to clear your build folders, flutter is cache loading your application
Correct this can be closed now.
Still facing this issue on version 1.0.7.
Error Stack: e: C:\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:\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:\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: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
BUILD FAILED in 1m 2s
Exception: Gradle task assembleDebug failed with exit code 1
Seems to be an incompatibility issue with your gradle files and my project's or help me understand what it is and provide a solution to it.
So I went to upgrade from 1.0.5 to 1.0.7 and got this error.
This is a copy of my pubsec.yaml