dotnet / dotnet/android

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

Open
#9,160 8 comments 0 reactions 2 assignees Claimed by @jonathanpeppers View on GitHub
Area: App+Library Build delighter-sc
Dominant language
C#
Stars
2.1k
Forks
579
Avg merge
1d 20h
Merged PRs (30d)
257

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.