在网上下载了一个项目,在Android2.2上运行,然后弹出这一句日志:
Error:This Gradle plugin requires a newer IDE able to request IDE model level 3. For Android Studio this means version 3.0+
没细看还以为要更新IDE了。后来在网上查看,不更新IDE也行。
在项目的gradle.properties配置文件中加入以下这句: gradle.properties中:android.injected.build.model.only.versioned = 3