Android Studio after updating to build tools 19.1.0

Ilya Gazman picture Ilya Gazman · Jun 6, 2014 · Viewed 11.2k times · Source

Just upgraded my Android build tools version to 19.1.0 and this is what I am getting:

Unsupported method: Dependencies.getJars(). 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.: Unsupported method: Dependencies.getJars().

I searched all my libraries and dependancies and all is set to 19.1.0

What am I missing?

Answer

Austin Hanson picture Austin Hanson · Jun 7, 2014

Version 0.11 of the Android Gradle plugin was just released (6/6/14). Change your build.gradle settings to "0.10.+".

classpath 'com.android.tools.build:gradle:0.10.+'

Note: This should be considered a temporary solution until you can update Android Studio and your Android SDK (particularly your build tools).