Initially, I installed only Android API 12. But now, I'm trying to install other available packages and it displays:
Downloading SDK Platform Android 3.0, API 11, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-3.0_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.3.3, API 10, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.3.3_r01-linux.zip (Access is denied)
Downloading SDK Platform Android 2.2, API 8, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.2_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 2.1, API 7, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-2.1_r02-windows.zip (Access is denied)
Downloading SDK Platform Android 1.6, API 4, revision 3
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-1.6_r03-windows.zip (Access is denied)
Downloading SDK Platform Android 1.5, API 3, revision 4
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-1.5_r04-windows.zip (Access is denied)
Downloading Samples for SDK API 12, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-3.1_r01-linux.zip (Access is denied)
Downloading Samples for SDK API 11, revision 1
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-3.0_r01-linux.zip (Access is denied)
What is the problem and how can I solve it?
Open the Tools\Options\Xamarin\Android Settings and set a new Android SDK Location (the folder should not exists). automatically the IDE detect that the Android SDK is not installed and it will propose you to install all the required components. after that open the Tools\Android\Android SDK Manager...
by default, the "Android Studio IDE" will be installed in " C:\Program Files\Android\Android Studio ", and the "Android SDK" in " c:\Users\username\AppData\Local\Android\Sdk ".
Blockquote Try starting the SDK Manager with Administrator privileges. Then it should work.
Tried and confirmed, admin priviledges required.
Next time, try installing the SDK on a path that doesn't require privileged access rights (Program Files does). You could also edit the settings of the SDK install path to give write access to the user you log in as.
Try starting the SDK Manager with Administrator privileges. Then it should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With