image_gallery_saver icon indicating copy to clipboard operation
image_gallery_saver copied to clipboard

Execution failed for task ':image_gallery_saver:compileDebugKotlin'.

Open JonYun opened this issue 3 years ago • 4 comments

e: /Users/huangyun/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver-1.6.9/android/src/main/kotlin/com/example/imagegallerysaver/ImageGallerySaverPlugin.kt: (19, 7): Redeclaration: ImageGallerySaverPlugin e: /Users/huangyun/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver-1.6.9/android/src/main/kotlin/com/example/imagegallerysaver/ImageGallerySaverPlugin.kt: (113, 7): Redeclaration: SaveResultModel e: /Users/huangyun/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver-1.7.0/android/src/main/kotlin/com/example/imagegallerysaver/ImageGallerySaverPlugin.kt: (21, 7): Redeclaration: ImageGallerySaverPlugin e: /Users/huangyun/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver-1.7.0/android/src/main/kotlin/com/example/imagegallerysaver/ImageGallerySaverPlugin.kt: (29, 52): No value passed for parameter 'registrar' e: /Users/huangyun/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver-1.7.0/android/src/main/kotlin/com/example/imagegallerysaver/ImageGallerySaverPlugin.kt: (30, 22): Unresolved reference: onAttachedToEngine e: /Users/huangyun/.pub-cache/hosted/pub.flutter-io.cn/image_gallery_saver-1.7.0/android/src/main/kotlin/com/example/imagegallerysaver/ImageGallerySaverPlugin.kt: (118, 7): Redeclaration: SaveResultModel

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':image_gallery_saver:compileDebugKotlin'.

Compilation error. See log for more details

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

JonYun avatar Sep 23 '21 08:09 JonYun

I'm using version 1.7.0

JonYun avatar Sep 23 '21 08:09 JonYun

flutter clean

jacky-yanglei avatar Sep 23 '21 09:09 jacky-yanglei

Already solved , thank you

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2021年9月23日(星期四) 下午5:14 收件人: @.>; 抄送: "■D" @.>; @.>; 主题: Re: [hui-z/image_gallery_saver] Execution failed for task ':image_gallery_saver:compileDebugKotlin'. (#192)

flutter clean

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

JonYun avatar Sep 23 '21 09:09 JonYun

How do you solve it?

raphaelrca avatar Mar 30 '22 20:03 raphaelrca

how yo u solve it ?

muhammadramadhan2045 avatar Feb 02 '23 09:02 muhammadramadhan2045