Gradle 'MyApplication' project failed error: CreateProcess error = 193,% 1 is not a Win32 application

The system costs xp 32-bit. As I understand it because of the fact that there are spaces in the folder name. But you cannot rename the Documents and Settings folder, and it takes the settings from there and creates additional files there. This is the compiler error.

That's where and what adds files android studio

  • one
    there was a similar problem after the update, the studio seems to have pulled up its jdk and for some reason it was x64, in the studio settings, specify the path to x32 jdk - ermak0ff
  • Greetings Please take a look at this solution: ru.stackoverflow.com/a/573670/224831 - Salut Amigo

2 answers 2

Greetings Please look at this solution:

The problem is that Android Studio tried to use JDK / javac from a folder inside Android Studio, but the fact is that the JDK was installed on the C: \ Program Files \ Java \% JDK% \ javac drive. Android Studio was not installed on the C: drive ...

For some strange reason, Android Studio stubbornly ignored the already installed JDK.

Decision:

Delete Android Studio, and install it on the C: drive (to the default location), after deleting all settings files from c: \ Documents and Settings \% USER% .AndroidStudio.

A source:

ru.stackoverflow.com/a/573670/224831

  • In fact, the correct answer in the source is another answer - pavlofff
  • 'I tried this option - Max

Install version 2.1.2, it helped me so much

  • Do you have any files from Andr \ stud in Documents and Settings? or in some other folder with spaces in the title - Max
  • I have Win7 , and Android Studio installed on disk D, and the folder is called My Documents, but the projects are in downloads. I had the same problem, I read that I had to install the old version and everything helped - Shufler3
  • thank. I'll swing right now - Max
  • If such an error occurs again, try selecting jdk in the settings. which is from java and not from Android Studio . - Shufler3