image_gallery_saver icon indicating copy to clipboard operation
image_gallery_saver copied to clipboard

Uncompatible with flutter & dart sdk

Open wasim353 opened this issue 1 year ago • 8 comments

when use this package not create build show error mention below Screenshot 2024-08-20 151247

wasim353 avatar Aug 22 '24 04:08 wasim353

Hi @wasim353 I facing the same issue did you find any solution?

Usamakabir07 avatar Aug 23 '24 12:08 Usamakabir07

i have replace the image gallery saver package with gallery saver package. it's working

On Fri, 23 Aug 2024 at 17:55, Muhammad Usama Kabir @.***> wrote:

Hi @wasim353 https://github.com/wasim353 I facing the same issue did you find any solution?

— Reply to this email directly, view it on GitHub https://github.com/hui-z/image_gallery_saver/issues/312#issuecomment-2307038126, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKLKQ6QU7QTULNRQIIA4VJLZS4WNVAVCNFSM6AAAAABM5JDIL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBXGAZTQMJSGY . You are receiving this because you were mentioned.Message ID: @.***>

wasim353 avatar Aug 24 '24 09:08 wasim353

Oh... this library was introduced as a transitive dependency...

pixnbit avatar Aug 25 '24 19:08 pixnbit

same issue

Kaizodo avatar Aug 27 '24 05:08 Kaizodo

i think this repo is dead there are no updates from past 1 year

Kaizodo avatar Aug 27 '24 05:08 Kaizodo

what solved this for me, adding some scripts to the subprojects section in android/build.gradle:

allprojects { repositories { google() mavenCentral() } }

rootProject.buildDir = "../build" subprojects { // fix for verifyReleaseResources // ============ afterEvaluate { project -> if (project.plugins.hasPlugin("com.android.application") || project.plugins.hasPlugin("com.android.library")) { project.android { compileSdkVersion 34 buildToolsVersion "34.0.0" } } if (project.hasProperty("android")) { project.android { if (namespace == null) { namespace project.group } } } } // ============ project.buildDir = "${rootProject.buildDir}/${project.name}" project.evaluationDependsOn(":app") }

tasks.register("clean", Delete) { delete rootProject.buildDir }

On Tue, 27 Aug 2024 at 10:43, Kaizodo Technologies Pvt Ltd < @.***> wrote:

same issue

— Reply to this email directly, view it on GitHub https://github.com/hui-z/image_gallery_saver/issues/312#issuecomment-2311617767, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKLKQ6SAB3U7PPFLSAQVX5TZTQGZZAVCNFSM6AAAAABM5JDIL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGYYTONZWG4 . You are receiving this because you were mentioned.Message ID: @.***>

wasim353 avatar Aug 28 '24 05:08 wasim353

what solved this for me, adding some scripts to the subprojects section in android/build.gradle: allprojects { repositories { google() mavenCentral() } } rootProject.buildDir = "../build" subprojects { // fix for verifyReleaseResources // ============ afterEvaluate { project -> if (project.plugins.hasPlugin("com.android.application") || project.plugins.hasPlugin("com.android.library")) { project.android { compileSdkVersion 34 buildToolsVersion "34.0.0" } } if (project.hasProperty("android")) { project.android { if (namespace == null) { namespace project.group } } } } // ============ project.buildDir = "${rootProject.buildDir}/${project.name}" project.evaluationDependsOn(":app") } tasks.register("clean", Delete) { delete rootProject.buildDir } On Tue, 27 Aug 2024 at 10:43, Kaizodo Technologies Pvt Ltd < @.> wrote: same issue — Reply to this email directly, view it on GitHub <#312 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BKLKQ6SAB3U7PPFLSAQVX5TZTQGZZAVCNFSM6AAAAABM5JDIL6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJRGYYTONZWG4 . You are receiving this because you were mentioned.Message ID: @.>

This works like a charm. Thank you!

vongoethe avatar Sep 16 '24 16:09 vongoethe

Try this #295

knottx avatar Sep 19 '24 05:09 knottx