解决方法:
1.打开build.gradle(Project)
2.修改buildscript中的ext.kotlin_version = ‘1.2.30’ 改成ext.kotlin_version = ‘1.2.51’
buildscript { ext.kotlin_version = '1.2.51' }
3.rebuild