简体   繁体   中英

Reinstalling Android SDK (Xamarin / Visual Studio 2015)

The android-sdk install folder was corrupted during a failed update from the SDK Manager and needs to be reinstalled.

It is being used with the Xamarin Visual Studio 2015 plug in, and I'm not sure if it can be reinstalled "outside" of VS, or if there is an integrated tool that should be used.

As far as I can tell, the only hooks VS has into the SDK are the path references under Tools->Options->Xamarin->Android Settings.

You can define any Android SDK you'd like. So if you want to reinstall the Android SDK , it's as simple as deleting your current Android SDK and downloading it again and specifying the path in the Tools > Options > Xamarin > Android section.

Note: Just be cautious for other programs that might be using it such as other IDEs (Android Studio) and third party programs!

You can only reinstall SDK, moving files for Android path.

Verify that the AVD can be run, before open Visual Studio.

Can you update version, is necessary to modify path references under Tools-> Options-> Xamarin-> Android Settings

Download: https://developer.android.com/studio/index.html#downloads

The Android SDK can be added/removed just like any other install-able component from the Modify dialog within the VS installer (JDK as well).

Manual modification is therefore somewhat of a hack now (that could lead to unforeseen consequences, which is what I'm trying to avoid).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM