Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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!

like image 365
T_coder Avatar asked Mar 11 '20 00:03

T_coder


Video Answer


1 Answers

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

like image 109
N Droidev Avatar answered Oct 24 '22 08:10

N Droidev