You should make the following changes in app/build.gradle
minSdk: 19
targetSdk: 28 //modify these as per requirement 34>targetSdk>19
compileSdk: 27 //modify these as per requirement 34>compileSdk>19
Similar question: here
If you want to understand these build systems: Configure your build