Visual Studio : The Android SDK Directory could not be found. Please set via /p:AndroidSdkDirectory -


i have installed xamarin plugin visual studio 2012.

and when create android project , build same. getting following error.

error 1 android sdk directory not found. please set via /p:androidsdkdirectory. androidapplication1

i think error due mapping.

kindly guide resolve issue.

thanks in advance.

you can solve editing build definition in vs 2012.

right click on build definition , edit build definition

goto process -> advanced -> msbuild arguments , append below parameter value it

/p:androidsdkdirectory=c:\android-sdk

it should work.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -