2017-08-01 83 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' 
} 
相關問題