Visual Studio:找不到 Android SDK 目录.请通过/p:AndroidSdkDirectory 设置 [英] Visual Studio : The Android SDK Directory could not be found. Please set via /p:AndroidSdkDirectory
本文介绍了Visual Studio:找不到 Android SDK 目录.请通过/p:AndroidSdkDirectory 设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经为 Visual Studio 2012 安装了 Xamarin 插件.
I have installed Xamarin plugin for Visual Studio 2012.
当创建一个 Android 项目并构建它时.我收到以下错误.
And when create an Android Project and build the same. I am getting the following error.
错误 1 找不到 Android SDK 目录.请通过/p:AndroidSdkDirectory 设置.AndroidApplication1
我认为这个错误是由于某些映射造成的.
I think this error is due to some mapping.
请指导解决此问题.
提前致谢.
推荐答案
也可以设置Android SDK位置开启
You can also set the Android SDK location opening
Tools -> Options -> Xamarin -> Android Settings.
或者你必须重新安装 Android SDK.
Or you have to re-install Android SDK.
这篇关于Visual Studio:找不到 Android SDK 目录.请通过/p:AndroidSdkDirectory 设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文