The problem is Android Studio. Solve my problem?

I will try to describe my problem in detail as possible.
Use the Genymotion emulators. From the beginning, start VirtualBox. Then launch the Android emulator through it. Then run Genymotion, and after it launch the emulator : Google Nexus5 - 5.1.0 - API22 - 1080x1920. Then run on the execution module of the project itself Android Studio. Before had problems, but mostly they were resolved, but that one is not. A couple of days ago I started a project and everything worked. But there's something wrong here and knocks out the problem : RTcKEyI.png
Although often it generally knocks this :
oOp6PPS.png
Punched solve the problem with root for this video : https://www.youtube.com/watch?v=PzwrGso4ALc
But here's what happened : RMqDVwG.png ( I did it now, but before beat this : ERROR : JAVA_HOME is not set and no 'java' command could be found in your PATH
Please set the JAVA_HOME variable in your environment to match the location of your Java installation ).
Although I set JAVA_HOME in environment variable and the path to the file the most accurate! Here : xCebcBy.png .
I earnestly request you to help the novice programmer!
March 23rd 20 at 19:02
2 answers
March 23rd 20 at 19:04
Use the Genymotion emulators. From the beginning, start VirtualBox. Then launch the Android emulator through it. Then run Genymotion, and after it launch the emulator : Google Nexus5 - 5.1.0 - API22 - 1080x1920.

Why?
Installed genymotion, opened and launched. He will run virtualbox.

For example, if you use a program Nox Player, in addition program is run, you need to give cli access to the device (open the port). Genymotion does not require it. If the device is running it should work.

The error that is indicated in the first screenshot of "Project XX not found in root project YY" is not associated with genymotion.
Here, a similar error - https://stackoverflow.com/questions/17662362/gradl...
It can help...
March 23rd 20 at 19:06
Why Google release the emulator is not in use?

Find more questions by tags Android StudioAndroidJava