Make sure your compileSdkVersion does not match your buildToolsVersion . What I do in my project, I map compileSdkVersion and buildToolsVersion . Looks like this.
compileSdkVersion 24 buildToolsVersion '24.0.2' defaultConfig { minSdkVersion 19 targetSdkVersion 24 versionCode 1 versionName "1.0" }
In addition, you can always check for updates in the SDK Manager in Android Studio.
Please take a look at this as well. What is buildToolsVersion for Android SDK 24?
Hooray!
source share