Android Studio Error CreateProcess error=2, The System Cannot Find The File Specified.

preview_player
Показать описание
If you have below type of error in android studio and cannot run the app because of the jdk path is invalid.

"Gradle Sync Failed : CreateProcess error=2, The System Cannot Find The File Specified."

Then your inbuilt jdk path contains an error so that you have to specify the external jdk path.

For that you have to install the jdk 8 ar above version, because if your jdk version is 7 or below then it cannot supported in android studio.

This video gives you perfect suggestion to solve this error.
Рекомендации по теме
Комментарии
Автор

In my case error like the system can not find the path specified. I tried all solutions like thik but not get solution what should I do please help me ?

bhaktimantra
Автор

In my case jdk path was correct. I am using ndk in my project. Setting the ndk path did the work for me.

WaqarMumtaz
Автор

as for me its saying the system could not find specified path and i have tried what you have done but its still not working please help anyone

ewonderdocumentary
Автор

I've change the jdk path but "ERROR: CreateProcess error=2, Le fichier spécifié est introuvable" existe after sync and build !

princessesara
Автор

Createprocess error=267, the directory is invalid
I got this error what should I do please reply🙏

golden_d