在 android/build.gradle 中降低 gradle 版本
classpath ‘com.android.tools.build:gradle:xxx’ 改成
classpath ‘com.android.tools.build:gradle:4.1.0’
转自:Flutter android studio运行项目android文件 出现this and base files have different roots 错误
在 android/build.gradle 中降低 gradle 版本
classpath ‘com.android.tools.build:gradle:xxx’ 改成
classpath ‘com.android.tools.build:gradle:4.1.0’
转自:Flutter android studio运行项目android文件 出现this and base files have different roots 错误