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

后端 未结 14 2753
误落风尘
误落风尘 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:23

    Just delete(preferably permanently) all the android directories in whatever location they are present(e.g. C:\Program Files\Android, C:\users\respective user\respective android folders). Remove the installer as well(if possible). Make sure to save all your Android Studio files in some external storage (preferably).

    The main thing is to get Android studio with SDK.

    Now go to the android studio website and install android studio leaving all settings default. There you will also get to install the SDK and it's linking.

    It will take some time to load and will load nearly 1.5 GB files.

    This worked for my case.

提交回复
热议问题