According to Android document, the default value of android.defaults.buildfeatures.aidl
is set to false.
But my project need it. So I update the project's gradle properties file:
android.defaults.buildfeatures.aidl=true
but AGP gives me warning:
AGPBI: {"kind":"warning","text":"The option setting 'android.defaults.buildfeatures.aidl=true' is deprecated.\nThe current default is 'false'.\nIt will be removed in version 9.0 of the Android Gradle plugin.","sources":[{}]}
How to suppress it?
Have you tried with this by adding below code in app level build.gradle
file?
android {
buildFeatures {
aidl true
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With