In android studio, we frequently hear minSdkVersion and targetSdkVersion and maxSdkVersion terminologies. Let's understand what it means?
minSdkVersion : An integer designating the minimum API Level required for the application to run. The Android system will prevent the user from installing the application if the system's API Level is lower than the value specified in this attribute.
targetSdkVersion : An integer designating the target API Level that application is going to target. If you didn't set the targetSdkVersion then minSdkVersion and targetSdkVersion will be the same.
maxSdkVersion : An integer designating the max API Level where application can run. If you didn't set the maxSdkVersion then targetSdkVersion and maxSdkVersion will be the same.
There are 2 easy way to change api level in Android Studio.
Here are steps to change api level through Project Structur window