Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':image_downloader:compileDebugKotlin'. #139

Open
fabioselau077 opened this issue Jun 6, 2023 · 6 comments
Open

Comments

@fabioselau077
Copy link

fabioselau077 commented Jun 6, 2023

e: file:///Users/fabio/.pub-cache/hosted/pub.dev/image_downloader-0.31.0/android/src/main/kotlin/com/ko2ic/imagedownloader/ImageDownloaderPlugin.kt:332:17 'when' expression must be exhaustive, add necessary 'is Pending', 'is Successful' branches or 'else' branch instead
FAILURE: Build failed with an exception.

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

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

ext.kotlin_version = '1.8.21'
classpath 'com.android.tools.build:gradle:7.4.2'

Temp fix:
#131

@pippoberto
Copy link

I get the same error. Did you manage to solve it?

@fabioselau077
Copy link
Author

I get the same error. Did you manage to solve it?

#131 (comment)

In the end I changed the plugin, this one is outdated and with several bugs on the new Android

@DorraY
Copy link

DorraY commented Jun 28, 2023

I get the same error. Did you manage to solve it?

#131 (comment)

In the end I changed the plugin, this one is outdated and with several bugs on the new Android

Can you please tell which plugin you used instead? And is it serving your needs? Thanks.

@fabioselau077
Copy link
Author

I get the same error. Did you manage to solve it?

#131 (comment)
In the end I changed the plugin, this one is outdated and with several bugs on the new Android

Can you please tell which plugin you used instead? And is it serving your needs? Thanks.

image_gallery_saver

@Mohamed-Reda1010
Copy link

i have the same problem i removed it

@tindi-plus
Copy link

I am just checking in because I have the same issue, too. I will use the image_gallery_saver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants