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

前端 未结 10 1642
死守一世寂寞
死守一世寂寞 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.

提交回复
热议问题