-t:InstallAndroidDependencies could use a reasonable default AndroidSdkDirectory if not specified #9160
Open
Description
Android framework version
net8.0-android, net9.0-android
Affected platform version
macOS, Windows (presumably)
Description
When running dotnet build -t:InstallAndroidDependencies
I must set a path to the Android SDK (eg: -p:AndroidSdkDirectory=/Users/username/Android/sdk
).
Could we assume a reasonable default path for this variable if none is specified in this build task? We are likely going to provide guidance to a user to use the same path always, why not pick that by default?