Skip to content

Commit aa9d41a

Browse files
[docs] Sync Documentation/docs-mobile with dotnet/docs-mobile
Fixes: #10902 Sync local documentation with the upstream dotnet/docs-mobile repo: - Restore f1_keywords metadata and blank-line style to match docs-mobile - Use docs-mobile as source of truth for dependencies.md, with JDK 21 fix - Add f1_keywords to local-only message files (APT2000, XA1040, XA1041) - Add missing TOC.yml entries for APT2000, XA1039, XA1040, XA1041 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 720d838 commit aa9d41a

File tree

145 files changed

+506
-61
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+506
-61
lines changed

Documentation/docs-mobile/getting-started/installation/dependencies.md

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,18 @@ Here are all the arguments which the target will use when installing the depende
4444
> [!NOTE]
4545
> To make development easier try to avoid using paths which contain spaces or non-ASCII characters.
4646
47+
## Install Microsoft JDK manually
48+
49+
In order to build .NET for Android applications or libraries you need to have a version of the Java Development Kit installed.
50+
We recommend you use the Microsoft Open JDK, this has been tested against our .NET for Android builds:
51+
52+
1. Download [Microsoft OpenJDK 21](/java/openjdk/download#openjdk-21).
53+
4754
## Install the Android SDK manually
4855

56+
> [!NOTE]
57+
> On Windows you will need to install JDK first.
58+
4959
You might find it necessary to install the Android SDK manually:
5060

5161
1. Go to [Android Studio download](https://developer.android.com/studio#download).
@@ -61,6 +71,11 @@ You might find it necessary to install the Android SDK manually:
6171
5. Navigate to the `android-sdk\cmdline-tools\bin` directory within the directory you created.
6272

6373
6. Run the `sdkmanager` command to install the desired components.
74+
75+
7. Set the `$ANDROID_HOME` environment variable to your Android SDK path:
76+
```powershell
77+
$env:ANDROID_HOME = "C:\android-sdk"
78+
```
6479

6580
For example, to install the latest platform and platform tools, use:
6681

@@ -93,14 +108,8 @@ The following component types are useful to know:
93108
It is also good practice to set the `ANDROID_HOME` environment variable, as this
94109
allows you to use certain tooling from the command line.
95110

96-
## Install Microsoft JDK manually
97-
98-
In order to build .NET for Android applications or libraries you need to have a version of the Java Development Kit installed.
99-
We recommend you use the Microsoft Open JDK, this has been tested against our .NET for Android builds:
100-
101-
1. Download [Microsoft OpenJDK 21](/java/openjdk/download#openjdk-21).
102-
103111
2. Depending on your platform run the appropriate installer.
104112

105113
3. It is also good practice to set the `JAVA_HOME` environment variable.
106114
This will allow you to use the JDK from the Command Prompt or Terminal.
115+

Documentation/docs-mobile/messages/adb0000.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error/warning ADB0000
33
description: ADB0000 error/warning code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0000"
57
---
8+
69
# .NET for Android error/warning ADB0000
710

811
## Example messages

Documentation/docs-mobile/messages/adb0010.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error/warning ADB0010
33
description: ADB0010 error/warning code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0010"
57
---
8+
69
# .NET for Android error/warning ADB0010
710

811
## Issue

Documentation/docs-mobile/messages/adb0020.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error ADB0020
33
description: ADB0020 error code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0020"
57
---
8+
69
# .NET for Android error ADB0020
710

811
## Example messages

Documentation/docs-mobile/messages/adb0030.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error ADB0030
33
description: ADB0030 error code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0030"
57
---
8+
69
# .NET for Android error ADB0030
710

811
## Example messages

Documentation/docs-mobile/messages/adb0040.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error ADB0040
33
description: ADB0040 error code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0040"
57
---
8+
69
# .NET for Android error ADB0040
710

811
## Example messages

Documentation/docs-mobile/messages/adb0050.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error ADB0050
33
description: ADB0050 error code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0050"
57
---
8+
69
# .NET for Android error ADB0050
710

811
## Example messages

Documentation/docs-mobile/messages/adb0060.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error ADB0060
33
description: ADB0060 error code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ADB0060"
57
---
8+
69
# .NET for Android error ADB0060
710

811
## Example messages

Documentation/docs-mobile/messages/andas0000.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error/warning ANDAS0000
33
description: ANDAS0000 error/warning code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ANDAS0000"
57
---
8+
69
# .NET for Android error/warning ANDAS0000
710

811
## Issue

Documentation/docs-mobile/messages/andjs0000.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
title: .NET for Android error/warning ANDJS0000
33
description: ANDJS0000 error/warning code
44
ms.date: 04/11/2024
5+
f1_keywords:
6+
- "ANDJS0000"
57
---
8+
69
# .NET for Android error/warning ANDJS0000
710

811
## Issue

0 commit comments

Comments
 (0)