UnsupportedMethodException Android Studio 0.8.9

I have Android Studio 0.8.9.
Until now, It could sync with gradle files successfully,
But today when I opened it, It gives me this error:

UnsupportedMethodException
         Failed to set up Android modules in project 'Project': Unsupported method: SourceProvider.getJniDirectories().
         The version of Gradle you connect to does not support 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.

Can you help me solve this? Thanks.

  • How do I kill an Activity when the Back button is pressed?
  • Just uploaded Android App: How long before app shows in Android Market search?
  • JUnit testing for Android app with fragments
  • Kitkat, error while trying to load an image
  • zoom in and zoom out animation in android
  • Listen for keyboard show or hide event in android
  • Display Animated GIF
  • Is there a safe way to manage API keys?
  • Limit text length of EditText in Android
  • Programmatically hide / show android support design TabLayout inside AppBarLayout
  • Will someone please explain RESULT_FIRST_USER
  • Partial-screen WebView with <video> cut in half
  • 2 Solutions collect form web for “UnsupportedMethodException Android Studio 0.8.9”

    As stated by Justin, Upgrading to Android Studio 0.9.0 fixes this issue.

    To correct this issue I down-graded the android-plugin in your projects top level build.gradle file from
    classpath ‘com.android.tools.build:gradle:0.14.+’
    to
    classpath ‘com.android.tools.build:gradle:0.13.+’

    So right now the buildscript method in my projects build.grade looks like

    buildscript {
      repositories {
        mavenCentral()
      }
      dependencies {
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
        classpath 'com.android.tools.build:gradle:0.13.+'
      }
    }
    

    I think there may be a bug with version .14, I sent my error report.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.