Closed Pranat-morphosis closed 3 years ago
@Pranat-morphosis it cannot find the Android dependency because jCenter has been removed in the latest react native version as a repository of depedencies.
You need to jcenter back to android/build.gradle
file at the bottom of allprojects->repositories unit PR is merged, best is to define the package as well because jCenter is in read-only modus and packages will not receive updates anymore there (but do on maven central):
allprojects {
repositories {
..... # keep all others
jcenter() {
content {
includeModule("com.tom_roush", "pdfbox-android")
}
}
}
}
For anyone else coming here, just update to the latest version.
Follow the installation with a new project and got this issue OS: Windows 10 Platform: Android