I\'m using the leanback libraries, which require Android 17 or later. However my app supports a minSDK of 16, so I get a build error from gradle saying
Erro
Use overrideLibrary when the minSdk is declared in build.gradle instead of in AndroidManifest.xml
overrideLibrary
build.gradle
AndroidManifest.xml
If you are using Android Studio:
add to your manifest, don't forget to include xmlns:tools="http://schemas.android.com/tools" too.
xmlns:tools="http://schemas.android.com/tools"