I have updated android studio with latest version and then after googling I also updated Android SDK with API 18 but still it gives the same error.
Just click on the link written in the error:
Open Android SDK Manager
and it will show you the dialogs that will help you to install the required sdk for your project.
Open the Android SDK Manager
and Update with latest :
Then Sync ,Re-Build and Restart Your Project Demo Code for build.gradle
compileSdkVersion 21 // Now 23 buildToolsVersion '21.1.2' //Now 23.0.1 defaultConfig { minSdkVersion 15 targetSdkVersion 19 }
Hope this helps .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With