Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Documentation/docs-mobile/building-apps/build-properties.md
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,19 @@ If you are getting this error you can add the following to the

which will allow the `dx` step to succeed.

## AndroidNdkDirectory

The `$(AndroidNdkDirectory)` property specifies a custom Android NDK
installation directory. The path can be set in the project file or on the
command line:

```dotnetcli
dotnet build -p:AndroidNdkDirectory=/path/to/android-ndk
Comment thread
jonathanpeppers marked this conversation as resolved.
```

If this property is not set, .NET for Android locates the NDK from the
configured Android development environment.

## AndroidPackageFormat

An enum-style property with valid
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ They run in a context of an inner build with a single $(RuntimeIdentifier).

<GetAotAssemblies
AndroidAotMode="$(AndroidAotMode)"
AndroidNdkDirectory="$(AndroidNdkDirectory)"
AndroidNdkDirectory="$(_AndroidNdkDirectory)"
AndroidBinUtilsDirectory="$(AndroidBinUtilsDirectory)"
AndroidApiLevel="$(_AndroidApiLevel)"
MinimumSupportedApiLevel="$(AndroidMinimumSupportedApiLevel)"
Expand Down
Loading