Closed Joldersman closed 3 years ago
Same here...
I also have the same problem
I updated Kotlin version in build.gradle. it's worked.
ext.kotlin_version = '1.5.21'
@silverTreeHouse Thank you so much. It works!
seems that is fixed with https://github.com/CarnegieTechnologies/gallery_saver/issues/138#issuecomment-892315069, so i will close the issue
flutter/.pub-cache/hosted/pub.dartlang.org/gallery_saver-2.1.2/android/src/main/kotlin/carnegietechnologies/gallery_saver/GallerySaverPlugin.kt: (28, 9): Class 'kotlin.Unit' was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.5.1, expected version is 1.1.15.
FAILURE: Build failed with an exception.