I want to change the targetSdkVersion from 19 to 18 in Android Studio (not Eclipse), but failed.
Android Studio complains the following after I changed the targetSdk
in build.gradle Change these values according to current project Updation in sdk manager
compileSdkVersion 25 buildToolsVersion "25.0.2" minSdkVersion 15 targetSdkVersion 25
in dependencies replace below code compile 'com.android.support:appcompat-v7:25.1.0'
and synchronise project