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

Kotlin Gradle plugin error #34

Open
Kumar-ranjan12345 opened this issue Aug 3, 2023 · 3 comments
Open

Kotlin Gradle plugin error #34

Kumar-ranjan12345 opened this issue Aug 3, 2023 · 3 comments

Comments

@Kumar-ranjan12345
Copy link

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project '_:document_scanner_flutter' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
_

I am getting this error , but in my code i am using Kotlin Gradle Version 1.7.10 .

I have tried many solutions even created a new project and tried , still the error persists .

@aniket312001
Copy link

Have you find any solution for it ???
please let me also know i was also implementing doc scanner

@Pawankant87
Copy link

  • What went wrong:
    The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
    The following dependencies do not satisfy the required version:
    project ':document_scanner_flutter' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

  • 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.

BUILD FAILED in 7s
Exception: Gradle task assembleDebug failed with exit code 1
Exited (sigterm)

@Priyanshu078
Copy link

@Kumar-ranjan12345
@aniket312001
@Pawankant87

I have created a pull request for this issue.

For now, until it gets merged you can use
this package from my GitHub fork
https://github.com/Priyanshu078/document_scanner_flutter

It works perfectly fine.

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

4 participants