Defining project SDK versionssuggest change
build.gradle file of main module(app), define your minimum and target version number.
//the version of sdk source used to compile your project
//the minimum sdk version required by device to run your app
//you normally don't need to set max sdk limit so that your app can support future versions of android without updating app
//the latest sdk version of android on which you are targeting(building and testing) your app, it should be same as compileSdkVersion
Table Of Contents