问题:
The current Gradle version 5.6.2 is not compatible with the Kotlin Gradle plugin. Please use Gradle 6.1.1 or newer, or the previous version of the Kotlin plugin
解决办法:
修改android/build.gradle文件
把 classpath 'com.android.tools.build:gradle:3.5.0'
修改为 classpath 'com.android.tools.build:gradle:4.0.0'