I am running windows 7 32bit. I have upgraded from Android Studio from 1.5 to 2.2 and started following problem. I tried creating project but it didn t fix the error. What should I do?
Gradle sync failed: CreateProcess error=216, This version of %1 is not compatible with the version of Windows you re running. Check your computer s system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher Consult IDE log for more details (Help | Show Log)
build.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath com.android.tools.build:gradle:2.2.0
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
梯度疗法
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-2.14.1-all.zip