Here are the steps I now follow:
Make the required changes to the build.gradle file. a. minSdkVersion 25 leave as is targetSdkVersion 29