一般这种错误,目前都出现在旧版本的AndroidStudio上 将Gradle中的buildGradle 中的 com.android.support:appcompat-v7:29.+. 将如上版本号改成 com.android.support:appcompat-v7:+ 然后再刷新下即可。