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 :
Although often it generally knocks this :
Punched solve the problem with root for this video : https://www.youtube.com/watch?v=PzwrGso4ALc
But here's what happened :
( 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 :
I earnestly request you to help the novice programmer!