I have recently updated my Android Studio to 3.1.2 . After the update I tried opening the existing project and was shown multiple gradle errors while compiling the project.
Add maven { url 'https://maven.google.com' } as first entry in allprojects/repositories in top level build.gradle
maven { url 'https://maven.google.com' }
llprojects/repositories
build.gradle
like this:
allprojects { repositories { maven { url 'https://maven.google.com' } google() maven { url "https://jitpack.io" } jcenter() } }