V
V
Vadim Dunkin2016-09-22 22:57:51
Android
Vadim Dunkin, 2016-09-22 22:57:51

CreateProcess error=216 in Android Studio?

In general, the first time I started Android Studio, and the first creation of the Blank Activity project, I got this message in the Message window

Error:CreateProcess error=216, Version '%1' is not compatible with the version of Windows running on this computer. Check your system information to see which x86 (32-bit) or x64 (64-bit) version of the program you need and get it from your software vendor
, while trying to solve this problem, I asked a question on Google, well, I found out that the built-in jdk was a possible problem, changed it to the new jdk1.8_102, which I downloaded, and some other error appeared:
Error:Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.14.1/userguide/gradle_da...
Please read the following process output to find out more:
-------- ---------------
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
I still don’t understand what causes the first error, if there are stupid answers about the bitness of the system and ide, then I say immediately go to another place ...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Daniil Borovkov, 2016-10-20
@daniiltserin

The answer is in the question itself:
Error occurred during initialization of VM
Could not reserve enough space for 1572864KB object heap
Your hardware does not have the necessary amount of RAM.

V
Vadim Dunkin, 2016-10-21
@vadimushka_d

In general, I solved the problem, I just simply created an Empty Project type project and this warning was gone ..

A
Alexander Rodionov, 2017-11-20
@robinho_ekb

I myself had the same problem. The decision went differently.
The problem is that the path to Java is not registered. You need to set the path in the project properties.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question