I suddenly started getting this error when trying to build. This was all working a few weeks ago with no changes that I know of. The issue seems to be related to react
react
Add google maven in project gradle (Project: build.gradle),
Project: build.gradle
allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } }
Remove existing gradle cache with below command
cache
rm -fr ~/.gradle/caches/