5-stones / react-native-readium

📚 📖 React Native ebook reader for iOS, Android, & Web via Readium
MIT License
83 stars 25 forks source link

Build failed in Lastest react-native #48

Closed themehdihn closed 6 months ago

themehdihn commented 6 months ago

With these specifications, I tried to install the build.gradle and the latest version of React Native, but I failed to get the build. buildscript { ext { buildToolsVersion = "34.0.0" minSdkVersion = 21 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "23.1.7779620" kotlinVersion = "1.8.0" } repositories { google() mavenCentral() jcenter() } dependencies { classpath("com.android.tools.build:gradle") classpath("com.facebook.react:react-native-gradle-plugin") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") } }

I encountered the following errors: Could not determine the dependencies of task ':app:processDebugResources'.

Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. Required by: project :app > project :react-native-readium > com.github.readium.kotlin-toolkit:readium-navigator:2.2.1 Could not resolve com.github.barteksc:android-pdf-viewer:2.8.2. Could not get resource 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Could not GET 'https://www.jitpack.io/com/github/barteksc/android-pdf-viewer/2.8.2/android-pdf-viewer-2.8.2.pom'. Received status code 401 from server: Unauthorized Could not find com.duolingo.open:rtl-viewpager:1.0.3. Searched in the following locations:

What is wrong???

jspizziri commented 6 months ago

Closing as a duplicate of https://github.com/5-stones/react-native-readium/issues/47