2017-08-01 10 views
1

私のプロジェクトはアンドロイドスタジオ2.3でうまく動作します。しかし、3.0で、それはこのエラーをリフレッシュするために失敗しました:Androidスタジオ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. 

私はGradleの2.14.1 &のGradleのAndroidプラグイン2.2.0を使用しています。アップグレードのGradle(3.5まで)は問題を解決しません。

誰かがこの問題を抱えていて、回避策を見つけることができましたか?

答えて

0

はbuild.gradleに

dependencies { 
    classpath 'com.android.tools.build:gradle:3.0.1' 
} 
を変更しよう
関連する問題