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?
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).
更新了解决该问题的Android Studio。
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.