Android-studio Selected directory is not valid home for Android SDK

后端 未结 14 2606
误落风尘
误落风尘 2021-01-03 21:46

I installed android studio but while selecting android SDK I am getting following error. I tried solution which is on this post but no luck. How can I solve this?

14条回答
  •  心在旅途
    2021-01-03 22:28

    I had this problem on Linux. Apparently you need write access to some place in that directory, so I just took ownership of the entire thing:

    sudo chown -R thomas:thomas /opt/android-sdk
    

    Could be that something similar is going on on Windows as well.

提交回复
热议问题