Autodetect installed sdk and select sdk by name

Autodetect installed sdk and select sdk by name