In the Project Structure dialog, select the app in the Modules list on the left side. Select the Flavors tab on the right panel, click the defaultConfig item in the dialog center, then you can select your desired android Min Sdk Version and Target Sdk Version from the related dropdown list.