2017-08-01 46 views
1

我的项目在android studio 2.3下运行良好。但随着3.0,它失败,这个错误刷新:Android Studio 3.0 Canary 4不受支持的方法NativeArtifact.getRuntimeFiles()

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. 

我使用的摇篮2.14.1 &摇篮Android插件2.2.0。升级Gradle(3.5)不能解决问题。

是否有其他人有这个问题,并能够找到任何解决方法?

回答

0

尝试在改变的build.gradle

dependencies { 
    classpath 'com.android.tools.build:gradle:3.0.1' 
} 
相关问题