Sithira / FlutterRadioPlayer

Flutter Radio Player, A Plugin to handle streaming audio without a hassle
MIT License
139 stars 64 forks source link

Error Kotlin #8

Closed comerciosite closed 4 years ago

comerciosite commented 4 years ago

Hello, how are you? I am interested in using the flutter_radio_player, I am using the Android studio to run the example code, but this is giving an error, I have already researched the solution for this error and so far I have not found it. Do you have any suggestions to resolve this error below I thank you for your help Samuel flutter_radio_player.txt

BUILD FAILED in 23s Finished with error: Gradle task assembleDebug failed with exit code 1

Sithira commented 4 years ago

Hi,

In your android project, do you support Kotlin? This plugin is written from kotlin

On Mon, May 4, 2020 at 12:36 AM comerciosite notifications@github.com wrote:

Hello, how are you? I am interested in using the flutter_radio_player, I am using the Android studio to run the example code, but this is giving an error, I have already researched the solution for this error and so far I have not found it. Do you have any suggestions to resolve this error below I thank you for your help Samuel flutter_radio_player.txt https://github.com/Sithira/FlutterRadioPlayer/files/4571409/flutter_radio_player.txt

  • 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 23s Finished with error: Gradle task assembleDebug failed with exit code 1

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Sithira/FlutterRadioPlayer/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6V3BM3SFEZKMPS6WZWAF3RPW6DJANCNFSM4MYH6HZQ .

comerciosite commented 4 years ago

Hello I managed to redo the project, did the installation with the Flutter Pluglin Kotlin, it worked. Congratulations is show Flutter_Radio_Player. Now I am having difficulty placing images. It does not load the images that I put into assets in the pubspec.yaml file. Thank you in advance Samuel

Sithira commented 4 years ago

Hi, I’m afraid to say that the plugin does not support any kind of assets. However you should checkout the flutter documentation on assets. Your Assets are not a part of FlutterRadioPlayer

On Thu, May 7, 2020 at 6:49 PM, comerciosite notifications@github.com wrote:

Hello I managed to redo the project, did the installation with the Flutter Pluglin Kotlin, it worked. Congratulations is show Flutter_Radio_Player. Now I am having difficulty placing images. It does not load the images that I put into assets in the pubspec.yaml file. Thank you in advance Samuel

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Sithira/FlutterRadioPlayer/issues/8#issuecomment-625250735, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6V3BJYBPNTZWD33JWBI5LRQKYOZANCNFSM4MYH6HZQ .

-- Sent from Gmail Mobile for iPhone

comerciosite commented 4 years ago

Understand. I'm going to search for assets on the flutter. I'm trying to put Flutter_Radio_Player in this project on the link below, replacing the old player with the one you built. I did the project again, he loaded everything but the images.

https://play.google.com/store/apps/details?id=com.governadorcelsoramos.classicabrasil

Thank you very much in advance

Samuel

Sithira commented 4 years ago

Amazing. Once you publish this. I will put the app URL in my repo too. Keep up the good work. Don’t forget to star the this project 😊

On Thu, May 7, 2020 at 7:43 PM, comerciosite notifications@github.com wrote:

Understand. I'm going to search for assets on the flutter. I'm trying to put Flutter_Radio_Player in this project on the link below, replacing the old player with the one you built. I did the project again, he loaded everything but the images.

https://play.google.com/store/apps/details?id=com.governadorcelsoramos.classicabrasil

Thank you very much in advance

Samuel

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/Sithira/FlutterRadioPlayer/issues/8#issuecomment-625280554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6V3BLAEM2BA6SY22AAW23RQK6W7ANCNFSM4MYH6HZQ .

-- Sent from Gmail Mobile for iPhone

comerciosite commented 4 years ago

Hello Sithira! I managed to publish the project. I redid the entire project. In the beginning I already installed the Kotlin puglin, it worked. Looks cool, congratulations I will research how to put the song that is playing now: "", and in the future I will put the lyrics of the song that is playing and the translation, .. Thank you Samuel

Published project: https://play.google.com/store/apps/details?id=com.governadorcelsoramos.classicabrasil