This Gradle plugin requires a newer IDE able to request IDE model level 3. For Android Studio this means version 3.0+
使用idea导入android项目的时候,有时候会提示如上问题,解决办法是:
在项目根目录的gradle.properties中加入下面这一句
android.injected.build.model.only.versioned=3
使用idea导入android项目的时候,有时候会提示如上问题,解决办法是:
在项目根目录的gradle.properties中加入下面这一句
android.injected.build.model.only.versioned=3