错误‘android.injected.build.density‘ is deprecated"/>
AndroidStudio编译错误‘android.injected.build.density‘ is deprecated
问题
AndroidStudio编译错误
The option ‘android.injected.build.density’ is deprecated.
It was removed in version 8.0 of the Android Gradle plugin.
Density property injection from Android Studio has been removed.
解决
app/build.gradle
中这行
apply plugin: ‘com.android.application’
改成
plugins {
id ‘com.android.application’
}
更多推荐
AndroidStudio编译错误‘android.injected.build.density‘ is deprecated
发布评论