我的项目在Android Studio 2.3下运行良好。但是在3.0版本下,它无法刷新,并出现以下错误:
Error:Unsupported method: NativeArtifact.getRuntimeFiles().
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.
我正在使用Gradle 2.14.1和Gradle Android插件2.2.0。升级Gradle(到3.5)并没有解决这个问题。
还有其他人遇到过这个问题并能够找到任何解决方法吗?