CarnegieTechnologies / gallery_saver

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

When I run my App I had this error gallery_saver:compileDebugKotlin'. #166

Open nawafAlkhadidi opened 3 years ago

nawafAlkhadidi commented 3 years ago

FAILURE: Build failed with an exception.

jims57 commented 2 years ago

@nawafAlkhadidi The problem facing you is just like the one I faced.

Do you think it is the same error?

By the way, have you found a solution to fix this? Thanks.

shanxus commented 2 years ago

Same issue.

shanxus commented 2 years ago

Same issue.

Fix this by upgrading kotlin version to 1.4.32.

cmedamine commented 2 years ago

the problem is that gallary saver uses ext.kotlin_version = '1.5.20' and your project uses ext.kotlin_version = '1.3.50' or lower.

to solve this go to:

1: android -> build.gradle 2: change from ext.kotlin_version = '1.3.50' to ext.kotlin_version = '1.5.20'