Android Studio 3.0 - No server to serve request

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

    This error occurred because you might have accidentally remove the executable flag from aapt2 which is located in $ANDROID_HOME/build-tools/27.0.2.

    Try this:

    • Re-download the sdk (recommended)

    followed by-

    • sudo chmod 777 -R $ANDROID_HOME

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

    Hope this helps !!

提交回复
热议问题