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
update program to latest, android studio will active icon SDK Manager. if you use old version icon SDK not active you must find SDK support it.
I have problem like you and i have resolve that! You must take owner ship this folder SDK in folder's you setup android studio. You can download file Takeownership on link. install it just the way click on file TakeOwnerShip-install.reg and go to folder SKD, right click and select TakeOwnerShip. Done this problem will be resolve. TakeOwnerShip
The SDK is bundled with Android Studio, you don't have to download it separately.
I've seen this issue on both machines I've installed Android Studio on - the "add-ons" directory doesn't get created at install.
Assuming you're on 64 bit Windows and installed to default location, look here:
*C:\Program Files (x86)\Android\android-studio\sdk*
If you don't have a "Program Files (x86)" folder, look in "Program Files"
I'd bet there's no "add-ons" folder in there. If not, create one and than start Android Studio. You should see no problems.
First of all, please check if you've actually downloaded the SDK with the SDK Manager.
Then:
Close your current open project in order to get the welcome screen of the Android Studio (it's small window where you have your projects listed on the left side)
Click on Configure > Project Defaults > Project Structure
Click on SDKs under Platform Settings: in the middle column you should see the list of the SDKs currently installed on your machine
Click on Android SDK under Platform Settings and check/set the SDK location
Apply any change and restart Android Studio
ok, you can edit this Code and save with format .reg and run it.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take ownership"
"HasLUAShield"=""
"NoWorkingDirectory"=""
[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
On my ubuntu linux distribution, a "missing add-ons directory" problem was caused by folder permissions. The owner of the installed android-studio was root. And I encountered the problem when running android studio (version 0.3.2) as a regular user and creating for the very first time a new project. So, it seems that as part of creating the project, the add-ons directory is created. Although not desirable, I solved the problem by making this regular user the owner of the android-studio installation (using a chown -R command).