android - UnsupportedMethodException Android Studio 0.8.9

标签 android gradle android-studio android-gradle-plugin

我有 Android Studio 0.8.9。 到目前为止,它可以成功与 gradle 文件同步, 但是今天我打开它,它给了我这个错误:

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.

你能帮我解决这个问题吗?谢谢。

最佳答案

Justin 所述, 升级到 Android Studio 0.9.0 解决了这个问题。

关于android - UnsupportedMethodException Android Studio 0.8.9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26680972/

相关文章:

android - 从 valueEventListener java 返回值

Java找不到主类

github - 使用gradle从 Artifactory 中检索SNAPSHOT jar的构建信息

connection - HTC Desire 与 Ubuntu 10.04 的 USB 连接问题

android - 启动 Gmail 以发送带有附件的邮件

java - 如何为“列表”首选项中的选项设置 onClick 监听器?

java - Okhttp 和 Retrofit 不能一起工作

Android Studio 3.1 Gradle 插件 4.4 KotlinNullPointerException

android - 如何使用我自己的自定义 EditText 布局作为 searchView

Gradle插件开发(Java代码): Update extension properties for Internal applied Plugin