Down a project from github , found this bug.
solve method:
buildscript { repositories { jcenter() //重点 maven { url 'https://maven.google.com' } } dependencies { classpath 'com.android.tools.build:gradle:3.3.0' } } allprojects { repositories { jcenter() //重点 maven { url 'https://maven.google.com' } } }
after adding maven , i solved this bug.