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

dependencies do not satisfy the required version #36

Open
SamarNajib opened this issue Apr 4, 2024 · 4 comments
Open

dependencies do not satisfy the required version #36

SamarNajib opened this issue Apr 4, 2024 · 4 comments

Comments

@SamarNajib
Copy link

FAILURE: Build failed with an exception.

  • 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 ':pdf_text' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50
@tushar-nagar-arc
Copy link

Pull the code from git hub
git clone https://github.com/AlessioLuciani/flutter-pdf-text

in the pubspec.yaml file
add it like
pdf_text:
path: path_to_the_cloned_git_dir
after that modify the Kotlin version in the build.gradle file of this cloned folder to 1.5.20.

@shakirkasmani
Copy link

Flutter build failed, I am getting this error

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:checkDebugAarMetadata'.

Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
Could not find com.tom_roush:pdfbox-android:1.8.10.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/tom_roush/pdfbox-android/1.8.10.1/pdfbox-android-1.8.10.1.pom
- https://repo.maven.apache.org/maven2/com/tom_roush/pdfbox-android/1.8.10.1/pdfbox-android-1.8.10.1.pom
- https://storage.googleapis.com/download.flutter.io/com/tom_roush/pdfbox-android/1.8.10.1/pdfbox-android-1.8.10.1.pom
- https://jitpack.io/com/tom_roush/pdfbox-android/1.8.10.1/pdfbox-android-1.8.10.1.pom
Required by:
project :app > project :pdf_text

@Vinayak006
Copy link

I am also getting the same error. Any solution for this?

@Vinayak006
Copy link

@shakirkasmani , in build.gradle replace the tom_roush to tom-roush in dependencies. Make there is mavenCentral() added.

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