After upgrade Android Studio to 2.2.3 it shows an error with:
IllegalArgumentException: Multiple entries with same key: 24.0.0 rc4=24.0.0 rc4 and 24.0.0 rc4=24.0.0 rc4
Had this occur recently after updating a few bits.
My solution was to open the Preferences in Android Studio, browse to Android SDK -> SDK Tools, you will most likely see multiple copies of 24.0.0 rc4 (one with a dash instead of a space in the version name) under Android SDK Build-Tools. Uninstall both copies by unchecking them, and then hitting Apply. Once uninstalled, the list should go back to showing only one 24.0.0 version called 24-rc4, install this and resync Gradle.
It might also help to change the buildToolsVersion in your Gradle files to 24-rc4.
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