xamarin - Can't setup Android SDK on Visual Studio 2015 -
i installed vs2015 enterprise , want try "cross platform" or "android blank app" project, in both , got message box error
value cannot null
parameter name:path1
when try run tools/android /android sdk manager got visual studio error:
error: command did not execute uccessfully due unexpected exeption.please check output window aditional information
in error window got
xamarin.android visual studio requires android sdk. please set android sdk path on tools->options->xamarin->android settings menu
when open start/all programs/android sdk tools/sdk manager/tools/options
it looks can't download something, guess there no android sdk installed on pc.
i've tried disabling firewall it's same, idea?
your jdk , android ndk locations paths might set sdk might not set. had same problem. solved in 3 steps . if have same problem shown above image, follow these steps.
- click on change, show folders.
- select path
****c:\program files (x86)\android\android-sdk****
systems, sdk located in location only. - click on ok. android sdk manager in enable. problem solve.
incase android-sdk not located in place, need search android-sdk located. if dont find android-sdk in c drive, may not installed properly. here have 2 options.
- open vstoolsforxamarin.exe , select tools need , update them (or)
- you can install android-sdk manually.
here link: https://developer.xamarin.com/guides/android/getting_started/installation/windows/manual_installation/.
my suggestions don't uninstall , install vs, unnecessary headache.
Comments
Post a Comment