Skip to content

-t:InstallAndroidDependencies could use a reasonable default AndroidSdkDirectory if not specified #9160

Open
@Redth

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?

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions