Open SamarNajib opened 5 months ago
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.
Flutter build failed, I am getting this error
FAILURE: Build failed with an exception.
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
I am also getting the same error. Any solution for this?
@shakirkasmani , in build.gradle
replace the tom_roush to tom-roush in dependencies. Make there is mavenCentral() added.
FAILURE: Build failed with an exception.