buildscript { repositories { jcenter() google() } dependencies { classpath 'com.android.tools.build:gradle:3.1.2' } } allprojects { repositories { jcenter() google() } }