I\'m new to android development and android studio IDE.
I\'ve checked-out a project from bitbucket and when I try to compile it I get the following error:
For me the solution to this error was to change the gradle wrapper version in ../gradle/wraper/gradle-wrapper.properties to a different/newer version.. I used:
distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip
Then call:
./gradlew --refresh-dependencies
This tells the wrapper to point to a new version and re-download all required dependencies. I suspect the error for me was caused by an interrupted download when first building the relevant project.