React Native : Change targeted sdk version for play store upload

Open build.gradle under android/app/

find the android { } block

Change the following version to the below:

compileSdkVersion 27
buildToolsVersion "27.0.3"
minSdkVersion 16
targetSdkVersion 27

In the dependencies block, change the appcompat line to match the target version

compile "com.android.support:appcompat-v7:27.1.1"

Leave a Comment