ukasz123 / soundpool

Soundpool plugin for Flutter
88 stars 63 forks source link

Build failed with an exception #93

Closed YDA93 closed 2 years ago

YDA93 commented 2 years ago

As per issued referenced in https://github.com/flutter/flutter/issues/97729

And per below exception:

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

FAILURE: Build failed with an exception.

* Where:
Script '/Users/yousefalmutairi/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 421

* What went wrong:
A problem occurred evaluating root project 'android'.
> A problem occurred configuring project ':app'.
   > Cannot invoke method afterEvaluate() on null object

* 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 1s

Any solution to this?

If you want a solution that can be applied immediately, before the Flutter-side fix reaches the stable channel, plugin authors can trivially fix this by removing the android/ directory from their plugin if it doesn't declare Android support in pubspec.yaml.

Kindly do the needful to update the package otherwise flutter apps in 2.10.0 cannot run in android using your package.

Thanks,

YDA93 commented 2 years ago

Duplicated https://github.com/ukasz123/soundpool/issues/92