Therefore, after a long study of the issue, I have a specific solution. Let's take a look at that.
Go to Android Studio → Help → Show Login Files
In the folder that opens, open the idea.log file.
This will give you a log file that contains process logs from the moment the studio starts. Now in this file you should look for possible problems. For some, the problem may be related to
java.io.IOException: cannot start the program "/ home / mmt / Android-Sdk / android-sdk-linux_x86 / emulator / emulator-check": error = 13, permission denied
For some others, this may be some other. The fact is that this file contains many irrelevant logs, and you must identify the one that causes this problem. For me, after discovering the above problem, I gave permission to this particular folder using the following commands
cd $ ANDROID_HOME / sudo chmod -R 777 emulator /
After that, rebuild your project and tadaaa .. the problem is solved.
source share