Error: The Android SDK could not be found, please

2019-07-04 22:05发布

问题:

Error: The Android SDK could not be found, please set the path to it in the Xamarin.Android SDKs settings panel. (TestAndroid)

I have selected android-sdk folder but it not works.

回答1:

Download the Android SDK from the official website. Then open the SDK manager and download the necessary addins. After that select the SDK location in the preferences of Xamarin. Make sure you have enough rights to read the folder.



回答2:

For MAC system,

Download Android SDK from http://developer.android.com/sdk/index.html#Other

open android-sdk-macosx > tools

right click on android open with terminal to open SDK manager, install required plug-ins and you are good to go