With latest Android Studio version, I got this error respectively hint how to solve it:
Gradle version 2.10 is required.
Current version is 2.5.
If using the gradle wrapper, try editing the distributionUrl in
.../gradle/wrapper/gradle-wrapper.properties to gradle-2.10-all.zip
This fix solves the issue.
Duplicate of #5008.
This happens if you accept Android Studio鈥檚 recommendation to upgrade the Android Gradle plugin to 2.0.0. Don鈥檛 accept that upgrade, and you won鈥檛 get this error.
For anyone else finding this, make sure Instant Run is disabled. Running the app will not work otherwise.
https://github.com/WhisperSystems/Signal-Android/commit/848a25664b746f89b4435b01728247bf3d3135f4 fixed this. Issue can be closed.
Most helpful comment
https://github.com/WhisperSystems/Signal-Android/commit/848a25664b746f89b4435b01728247bf3d3135f4 fixed this. Issue can be closed.