Android Studio: Cannot install from SDK Manager:”Access is denied.”

On Android Studio I noticed that if I try to install the android sdk files I get an error like in the image below: (I have Windows 8 on my computer)

android sdk acces is denied

So I found out that the solution is to open the Android Studio as Administrator from where it is installed. In my case Android Studio is in:

C:Program Files (x86)Androidandroid-studiobin

run as administrator

And now you should be able to install from SDK manager.