// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { maven { url \"h
I have had the same kind of problem these days. I found it might be caused by the version of gradle. After changing the version to 2.1.0, the problem's gone.
dependencies { classpath 'com.android.tools.build:gradle:2.1.0' }
I'm not sure it works for you.