When I use a method that is available in my compileSdk 24
, but not in my minSdk 21
, Android Studio will build my app without warnings. However When I run the app on a Lollipop (SDK 21) device, it crashes!
See
for and example.
Can I configure Android Studio to show warnings while building the app?