CarnegieTechnologies / gallery_saver

Flutter plugin that saves images and videos to devices gallery
Apache License 2.0
157 stars 329 forks source link

Version ^2.1.2 Don't work with Android #138

Closed Joldersman closed 3 years ago

Joldersman commented 3 years ago

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.

rafampessoa commented 3 years ago

Same here...

yjyoon-dev commented 3 years ago

I also have the same problem

wchiaki commented 3 years ago

I updated Kotlin version in build.gradle. it's worked.

ext.kotlin_version = '1.5.21'
yjyoon-dev commented 3 years ago

@silverTreeHouse Thank you so much. It works!

lecicdjuro commented 3 years ago

seems that is fixed with https://github.com/CarnegieTechnologies/gallery_saver/issues/138#issuecomment-892315069, so i will close the issue