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

Incompatible kotlin_version with latest Gradle Plugin #9

Open
Amphaal opened this issue May 9, 2023 · 12 comments
Open

Incompatible kotlin_version with latest Gradle Plugin #9

Amphaal opened this issue May 9, 2023 · 12 comments

Comments

@Amphaal
Copy link

Amphaal commented May 9, 2023

Capture d’écran 2023-05-09 à 19 48 59

Seems like the issue was fixed in 6ec0e86.

@alann-maulana would you push a new version minor / major version of the lib since it could involve breakage ? Many thxs :)

@alexaniko88
Copy link

Any updates on this issue @alann-maulana?

@TimeLord2010
Copy link

Same problem here.

@deevsaini
Copy link

any updates guys?

@TimeLord2010
Copy link

I solved this at the time by putting this in the dependencies:

  image_compression_flutter:
    git: 
      url: https://github.com/alann-maulana/image_compression_flutter.git
      ref: 6ec0e86

Are you sure the bug is still there? Its been months.

@iampopal
Copy link

iampopal commented Sep 7, 2023

looking for a solution for this issue

@Alex-web0
Copy link

Alex-web0 commented Sep 20, 2023

@TimeLord2010 solution works, please merge it

@VimeshLunagariya
Copy link

VimeshLunagariya commented Dec 18, 2023

Screenshot 2023-12-18 at 12 23 56 PM

@TimeLord2010 Solution not worked

@rulefahd
Copy link

not working anymore @TimeLord2010

@TimeLord2010
Copy link

@VimeshLunagariya . This is a separate issue. I think your java version is imcompatible. See:
StackOverlow question 1
StackOverflow question 2

@TimeLord2010
Copy link

@rulefahd "Not working anymore" is not possible. This gets the code from the github commit, so its not possible to no longer work. Most likely, you have something different in your setup. Make sure the error is the same.

@iampopal
Copy link

iampopal commented Dec 30, 2023 via email

@nilotpalkapri
Copy link

nilotpalkapri commented Feb 15, 2024

@TimeLord2010 Please update build.gradle with the following code to solve this issue,
`android {
compileSdkVersion 30

sourceSets {
    main.java.srcDirs += 'src/main/kotlin'
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_17
    targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
    jvmTarget = '17'
}
defaultConfig {
    minSdkVersion 16
}

}`

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

9 participants