'flutter- D8: Type com.dexterous.flutterlocalnotifications.utils.BooleanUtils is defined multiple times:

I am pretty new at this so the question might be stupid but- I'm working on a flutter app and I'm trying to add notifications to it. Everything works fine, but when I add 'flutter_local_notifications: ^9.5.3' under dependencies in the pubspec file, I get this error:

...Documents/projectname/build/flutter_local_notifications/intermediates/runtime_library_classes_jar/debug/classes.jar: D8: Type com.dexterous.flutterlocalnotifications.utils.BooleanUtils is defined multiple times:...Documents/projectname/build/flutter_local_notifications/intermediates/runtime_library_classes_jar/debug/classes.jar:com/dexterous/flutterlocalnotifications/utils/BooleanUtils 2.class...



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source