After updating Android Studio to version 2.2.3, an error message appears:
IllegalArgumentException: multiple records with the same key: 24.0.0 rc4 = 24.0.0 rc4 and 24.0.0 rc4 = 24.0.0 rc4
Just go to the folder ANDROID_SDK_LOCATION/build-toolsand delete 24.0.0-preview(or other folders)
ANDROID_SDK_LOCATION/build-tools
24.0.0-preview
Or, of course, you can go Android SDK Manager/ Android Studio > SDK Manager > SDK Tools > Show Package Detailsand uncheck the preview and older versions of RC. This does the same thing as simply deleting the build-tools / 24 files ....
Android SDK Manager
Android Studio > SDK Manager > SDK Tools > Show Package Details
If this happened recently after updating a few bits.
Preferences Android Studio, Android SDK → SDK Tools, , , 24.0.0 rc4 ( name) Android SDK Build-Tools. , , Apply. 24.0.0 24-rc4, Gradle.
Preferences
Android SDK
SDK Tools
24.0.0 rc4
Android SDK Build-Tools
Apply
24.0.0
24-rc4
buildToolsVersion Gradle 24-rc4.
buildToolsVersion
this problem may be Android N preview and Android N uses the same build version (24). Therefore, the answer of mtrakal is right. U can find built-in tools that have two 24.0.0 rc3 installed.