Android Studio 3.0 - No server to serve request

后端 未结 15 1782
北恋
北恋 2020-11-28 14:55

After clean install of Android Studio I always get the error

Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server t

15条回答
  •  孤独总比滥情好
    2020-11-28 15:35

    So after investigating the issue for long , I have a concrete solution . Let`s look into it.

    Go to Android Studio -> Help -> Show Log In Files

    In the subsequent folder that opens, open idea.log

    This would present you with a log file which contains logs of processes right from when the studio started. Now in this file, you have to search for the possible issue. For some the issue might be due to

    java.io.IOException: Cannot run program "/home/mmt/Android-Sdk/android-sdk-linux_x86/emulator/emulator-check": error=13, Permission denied

    For some others, it may be some other. The point is that this file contains lot of irrelevant logs and you have to identify the one that is causing this issue. For me , after discovering the above issue, I granted permission to that particular folder using the below commands

    cd $ANDROID_HOME/sudo chmod -R 777 emulator/

    After this, rebuild your project and tadaaa.. problem resolved.

提交回复
热议问题