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?
Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences). In the left panel, click Appearance & Behavior > System Settings > Updates. Be sure that Automatically check for updates is checked, then select a channel from the drop-down list (see figure 1). Click Apply or OK.
Which version should be used? Answer: Use the most recent version. For those using Android Studio with Gradle, the buildToolsVersion has to be set in the build. gradle (Module: app) file.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With