ukasz123 / soundpool

Soundpool plugin for Flutter
87 stars 64 forks source link

Plugin project :soundpool_web not found. Please update settings.gradle. #43

Open michael-woolsey opened 4 years ago

michael-woolsey commented 4 years ago

Hello,

I'm getting the following messages in my debug console when using soundpool on my Android only system.

Plugin project :soundpool_web not found. Please update settings.gradle. Plugin project :soundpool_macos not found. Please update settings.gradle.

It doesn't seem to cause any issues, I'm just wondering if this is something on my end that I need to update?

Thank you, Michael

JoseGeorges8 commented 4 years ago

url_launcher also has this. I haven't done any plugins myself but I think that gets shown when no implementation for the platform has been done. In this case I think there's no soundpool support for web or macos.

I might be wrong though is just a thought!

michael-woolsey commented 3 years ago

There is a new one with the latest version:

Plugin project :import_js_library not found. Please update settings.gradle. Plugin project :soundpool_web not found. Please update settings.gradle. Plugin project :soundpool_macos not found. Please update settings.gradle.

joranmulderij commented 3 years ago

I always like to get clean compiles and this is just a bit weird. It looks like there is no way of solving this issue. As @JoseGeorges8 already said, url_launcher also has this issue, and no one seems to make a big point out of it. It just shows up in the console. I found it very annoying about url_launcher, even thinking about either solving it or switching to another package. What is actually a bit weird is that this package does support both web and macos.

kolotum commented 2 years ago

I think you can edit your projects's android/settings.gradle file as described here: https://github.com/flutter/flutter/issues/57777#issuecomment-632609059

--

Maybe a better way to remove these warnings would be to delete the unnecessary folders in soundpool platform packages:

If you remove the following folders the Android build warnings are gone:

Do you need these folders, e.g. for compatibility or develop reasons?

jamolina2021 commented 2 years ago

Hi all, Any news to solve this problem? Thanks. Regards Jose

aisivan36 commented 2 years ago

Hi all, Any news to solve this problem? Thanks. Regards Jose

It solved just add this https://github.com/flutter/flutter/issues/57777#issuecomment-632609059