2016年8月2日 星期二

“Gradle Version 2.10 is required.” Error

Android Studio 遭遇

Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in C:\Users\blahblah\myproject\gradle\wrapper\gradle-wrapper.properties to gradle-2.10-all.zip


即為Gradle版本過低,

解決步驟

1) File > Settings > Builds,Execution,Deployment > Build Tools > Gradle >Default

2) 開啟 Project\gradle\wrapper\gradle-wrapper.properties

輸入 distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip

沒有留言:

張貼留言