React-Native Android – Could not find

  • A+

It seems that somehow the android/tools/common library has been deleted (pom, jar).

This caused many react native libraries that are using an old gradle version in their classpath (e.g to not being able to sync

How can i fix it?


This is my fix, I did not fork repos just used this workaround: add this to your build.gradle file, the sibling of settings.gradle file

subprojects { project -> def name = if (name.contains('module name, e.g. react-native-blur')         || name.contains('other module name, e.g. react-native-image-picker')) {     buildscript {         repositories {             maven { url ""  }         }     } } } 


:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: