My App was working fine, then i add com.splunk:mint-android-sdk, which required upper version of gradle, so i upgrade the gradle to from 2.1 to 3.3. after that i am facing i
Inside buildscript add google() then open terminal write command-- gradlew build and press enter.
repositories { google() jcenter() }
NB: Make sure you are in active network connection