Android Studio 3.0 - No server to serve request

后端 未结 15 1573
北恋
北恋 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:24

    Here how I fixed this Issue:

    1.Deleted .gradle folder.

    2.Closed android studio and run as administrator.

    On Start android studio will rebuild the folder you deleted.

    0 讨论(0)
  • 2020-11-28 15:24

    I ran into the same problem, and it turned out I had messed up the file permissions inside the android-sdk folder (more specifically android-sdk/build-tools/{version}), and some binaries were missing execution permissions.

    In my case, I simply gave x permissions to the relevant files in that directory, but if you're not sure, I suggest you uninstall the android sdk, completely remove its directory and then reinstall it again.

    0 讨论(0)
  • 2020-11-28 15:30

    I had this problem on lubuntu-16 32bit (and also some other problems too). all of the problems were solved when I updated my system to lubuntu-16 64-bit.

    0 讨论(0)
  • 2020-11-28 15:30

    sudo chmod 777 -R $ANDROID_HOME

    Note: $ANDROID_HOME is the location where you put android sdk

    Hope this helps !!

    0 讨论(0)
  • 2020-11-28 15:31

    for me it was a virus that corrupted my files from the "build tools" folder. so I uninstalled everything and made a new installation of android studio, SDK and build tools.

    0 讨论(0)
  • 2020-11-28 15:32

    In my case, I did not need to re-download the sdk. I closed Android Studio and ran the following command in the Terminal:

    sudo chmod 777 -R ~/Desktop/AndroidStudio
    

    ...where, ~/Desktop/AndroidStudio was the folder structure after Root which I needed to mention in order to provide permission to read all the SDK packages and perform required operation as and when necessary by the Android Studio, because my Sdk folder was inside "~/Desktop/AndroidStudio".

    I am running Android Studio 3.0.1 on Ubuntu 16.04 LTS. This worked for me perfectly :-)

    0 讨论(0)
提交回复
热议问题