Today, Android Studio ran the project, build a bit, always can not afford to, the Gradle and Android studio have updated a bit, or not,
Keep on reporting this error
Unsupportedmethodexception Failed to set up Android modules in Project ' project ': Unsupported Method:sourceprovid Er.getjnidirectories (). The version of Gradle you connect to does is not a support for that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model.
This time to search, just know is build.gradle inside the problem:
Buildscript {repositories {jcenter ()} dependencies {classpath ' com.android.tools.build:gradle:0 .14.0 '//Note:do not place your application dependencies here; They belong//in the individual module Build.gradle files}}
This one is a bug.
Classpath ' com.android.tools.build:gradle:0.14.0 '
Change into
Classpath ' com.android.tools.build:gradle:0.13.+ '
It's OK.
Reference fly to StackOverflow
About Android Studio Gradle error