Reputation: 32261
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?
Upvotes: 15
Views: 11250
Reputation: 22040
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).
Upvotes: 17
Reputation: 1263
this error occurs at IntelliJ IDEA, too. and I try some version of IntelliJ IDE
build tool 19.1.0 and gradle plugin 0.11
I can't find this fix in 14 EAP's release note, but it seems to be fixed at 14 EAP.
Upvotes: 2