Not sure what I\'m doing wrong here. I installed the Android SDK Manager, and am now trying to install a platform like the Android Dev website suggests. Once I clicked insta
Solution for macOS
AndroidStudio.app
-> show Package Contents -> MacOS studio
-executable in a terminalsudo
! (Ctrl+A
places your cursor in front)https://www.youtube.com/watch?v=ZPnu3Nrd1u0&feature=youtu.be
Why it's happening?
due to lock icon
on some folder(not having read/write access) in
"/yourpath/android-studio-SDK"
Sort and sweet solution
-Open Terminal (Ctrl +alt +t)
-copy pest sudo chown -R $USER: $HOME
-wait for a while.....
-now Try again to update your SDK
Happy Coding :)
If you use SDK Manager in Eclipse:
Option 1: Right-click on eclipse.exe and select "Run As Administrator".
Option 2: If you don't want to start Eclipse.exe as Administrator just install/copy Eclipse installation files from "C:\program files\Eclipse ADT Bundle\" to some unprotected folder, like "D:\android\". Run "D:\android\eclipse\eclipse.exe", select menu item "Window => Preferences => Android" and change "SDK Location" to "D:\android\sdk\". After that you'll be able to install new packages in Android SDK Manager.
go to sdk folder and right click on SDK manager and run with administrator and enjoy installing.