"Could not find com.google.jimfs:jimfs:1.1" upgrading RN project to AndroidX
Asked Answered
S

1

8

So i'm going through the joyous task of upgrading to AndroidX in an existing React Native project. Thus far I've set useAndroidX=true, enableJetifier=true, set the target SdkVersion to 28, and even switched jcenter() above goggle() in the repositories {}. I keep getting the error "Could not find com.google.jimfs:jimfs:1.1" - and it's friend "Could not find org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.21" - help, please!

Sober answered 11/3, 2020 at 0:40 Comment(1)
so switching jcenter() below mavenCentral() and google() in the repositories section of the build.gradle resolved this issue: repositories { mavenCentral() google() jcenter() }Sober
R
32

Add mavenCentral() to project level build.gradle file's repositories section of buildscript and allprojects.

Rottenstone answered 13/5, 2021 at 17:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.