Getting Gradle 'my-application' project refresh failed

203 views Asked by At

Getting following error on android studio -

Error: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

Studio suddenly crashed and after it when i am opening my project then getting above error. I am having 32 bit windows 7.

I have done following things -

  1. Updated Android sdk (32 bit).
  2. Changed path of sdk to our custom path.
  3. Restarted computer as well.
  4. Update java jdk to 1.8.0_112.

But still getting same error. Please suggest me where i am going wrong.

Thanks in advance.

1

There are 1 answers

7
Pier Giorgio Misley On

In Android Studio's folder, you will find 2 programs. One is for the 64bit and one is for the 32bit

Check which one you are using

enter image description here