androidstudioアンドロイドスタジオで以下のエラーがでました。
ERROR: Unsupported method: GradleProject.getProjectDirectory().
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の設定を見たら以下でした。
gradleプラグインバージョン 1.2.0
gradleバージョン 2.2.1
設定を合わせればいいのかと思いますが、
上記以外選択できませんでした。
どのようにしたらよいでしょうか?
「上記以外選択できません」の意味がよく分かりませんが、gradle プラグインのバージョンはプロジェクト直下の build.gradle、gradle のバージョンは gradle/wrapper/gradle-wrapper.properties に書いてあるので、直接書き換えればいいのでは?
あなたの回答
tips
プレビュー