Android Studio: Fail to parse SDK may be missing the directory add-ons

前端 未结 10 1439
死守一世寂寞
死守一世寂寞 2020-12-29 05:09

I am new to android software development. When I try to write the first android program, a pop up window shows up after I finish choosing all the basic settings, said that i

相关标签:
10条回答
  • 2020-12-29 05:45

    I had the same problem and it was because my user is not an administrator in win7 and I installed Android Studios for everyone and not just for me. Therefore the SDK stuff was installed under Program Files(x86) which I don't have any write access to, instead of under your user in C:\Users\

    To solve I had to either:

    • Change write/modify permissions for C:\Program Files (x86)\Android\android-studio\sdk for your user. Then you don't have to run the Android studio as admin every time.
    • Reinstall Android studio and choose to install it just for you (your user)
    • Run the Android studio as Administrator which is bit annoying if you have a separate admin account.
    0 讨论(0)
  • 2020-12-29 05:50

    I ran Android Studio as Administrator and it worked.

    0 讨论(0)
  • 2020-12-29 05:50

    I have faced the same problem and yes the add-ons folder was not installed in sdk folder.

    Create the folder add-ons in C:\Program Files (x86)\Android\android-studio\sdk folder.

    Then create the project again. Your problem will be solved.

    0 讨论(0)
  • 2020-12-29 05:50

    Same problem but solved : I have installed package "Android studio for linux" in /usr/local/android-studio in it you will find /usr/local/android-studio/sdk/tools/android executable tool too download or update Android SDK. Once done, retry to launch studio.

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