@@ -5,7 +5,7 @@ ms.assetid: 3BE5EE1E-3FF6-4E95-7C9F-7B443EE3E94C
55ms.technology : xamarin-android
66author : davidortinau
77ms.author : daortin
8- ms.date : 03/22/2019
8+ ms.date : 09/11/2020
99---
1010
1111# Build Process
@@ -46,7 +46,7 @@ Debug package to be smaller.
4646The shared runtime may be disabled in Debug builds by setting the
4747` $(AndroidUseSharedRuntime) ` property to ` False ` .
4848
49- <a name =" Fast_Deployment " / >
49+ <a name =" Fast_Deployment " ></ a >
5050
5151### Fast Deployment
5252
@@ -79,7 +79,7 @@ This page documents only the Xamarin.Android-specific features and
7979customizations &ndash ; many more things are possible with the normal
8080MSBuild items, properties and targets.
8181
82- <a name =" Build_Targets " / >
82+ <a name =" Build_Targets " ></ a >
8383
8484## Build Targets
8585
@@ -330,14 +330,14 @@ when packaging Release applications.
330330 This is the default value in Xamarin.Android 10.2.
331331
332332 - ` System ` : The original Java exception type is caught and wrapped in an
333- appropriate .NET exception type.
333+ appropriate .NET exception type.
334334
335- This means that, for example, ` InputStreamInvoker ` properly implements
336- ` System.IO.Stream ` , and ` Stream.Read() ` will * not* throw ` Java.IO.IOException `
337- instances. (It may instead throw a ` System.IO.IOException ` which has a
338- ` Java.IO.IOException ` as the ` Exception.InnerException ` value.)
335+ This means that, for example, ` InputStreamInvoker ` properly implements
336+ ` System.IO.Stream ` , and ` Stream.Read() ` will * not* throw ` Java.IO.IOException `
337+ instances. (It may instead throw a ` System.IO.IOException ` which has a
338+ ` Java.IO.IOException ` as the ` Exception.InnerException ` value.)
339339
340- This will become the default value in Xamarin.Android 11.0.
340+ This will become the default value in Xamarin.Android 11.0.
341341
342342 Added in Xamarin.Android 10.2.
343343
@@ -361,7 +361,7 @@ when packaging Release applications.
361361 This property is only relevant if ` $(AndroidPackageFormat) ` is set
362362 to ` aab ` .
363363
364- Added in Xamarin.Android 10.2 .
364+ Added in Xamarin.Android 10.3 .
365365
366366 [ bundle-config-format ] : https://developer.android.com/studio/build/building-cmdline#bundleconfig
367367
@@ -1119,7 +1119,7 @@ The following MSBuild properties are used with
11191119
11201120- ** AndroidCodegenTarget** &ndash ; A string property which controls the code generation target ABI. Possible values include:
11211121
1122- - ** XamarinAndroid** : Uses the JNI binding API present in since
1122+ - ** XamarinAndroid** : Uses the JNI binding API present since
11231123 Mono for Android 1.0. Binding assemblies built with
11241124 Xamarin.Android 5.0 or later can only run on Xamarin.Android 5.0
11251125 or later (API/ABI additions), but the * source* is compatible with
@@ -1162,11 +1162,7 @@ resources.
11621162 Added in Xamarin.Android 9.1.
11631163
11641164- ** AndroidExplicitCrunch** &ndash ; No longer supported in
1165- Xamarin.Android 10.4.
1166-
1167- - ** AndroidResgenExtraArgs** &ndash ; Specifies additional
1168- command-line options to pass to the ** aapt** command when
1169- processing Android assets and resources.
1165+ Xamarin.Android 11.0.
11701166
11711167- ** AndroidR8IgnoreWarnings** &ndash ; Automatically specifies
11721168 the ` -ignorewarnings ` proguard rule for ` r8 ` . This allows ` r8 `
@@ -1175,7 +1171,11 @@ resources.
11751171 enforce more strict behavior. See the [ ProGuard manual] ( https://www.guardsquare.com/products/proguard/manual/usage )
11761172 for details.
11771173
1178- Added in Xamarin.Android 10.4.
1174+ Added in Xamarin.Android 10.3.
1175+
1176+ - ** AndroidResgenExtraArgs** &ndash ; Specifies additional
1177+ command-line options to pass to the ** aapt** command when
1178+ processing Android assets and resources.
11791179
11801180- ** AndroidResgenFile** &ndash ; Specifies the name of the Resource
11811181 file to generate. The default template sets this to
@@ -1208,7 +1208,7 @@ resources.
12081208 The default value is ` Resources ` . Change this to ` res ` for the
12091209 Java project structure.
12101210
1211- <a name =" Signing_Properties " / >
1211+ <a name =" Signing_Properties " ></ a >
12121212
12131213### Signing Properties
12141214
@@ -1374,7 +1374,7 @@ To use the keystore generated above, use the property group:
13741374< /PropertyGroup>
13751375` ` `
13761376
1377- < a name=" Build_Actions" / >
1377+ < a name=" Build_Actions" ></a >
13781378
13791379# # Build Actions
13801380
@@ -1405,7 +1405,7 @@ with layout files:
14051405< AndroidBoundLayout Include=" Resources\layout\Main.axml" />
14061406` ` `
14071407
1408- < a name=" AndroidEnvironment" / >
1408+ < a name=" AndroidEnvironment" ></a >
14091409
14101410# ## AndroidEnvironment
14111411
@@ -1462,19 +1462,6 @@ used to specify the ABI that the library targets. Thus, if you add
14621462`lib/armeabi-v7a/libfoo.so` to the build, then the ABI will be "sniffed" as
14631463`armeabi-v7a`.
14641464
1465- ### AndroidResourceAnalysisConfig
1466-
1467- The Build action `AndroidResourceAnalysisConfig` marks a file as a
1468- severity level configuration file for the Xamarin Android Designer
1469- layout diagnostics tool. This is currently only used in the layout
1470- editor and not for build messages.
1471-
1472- See the [Android Resource Analysis
1473- documentation](https://aka.ms/androidresourceanalysis) for more
1474- details.
1475-
1476- Added in Xamarin.Android 10.2.
1477-
14781465#### Item Attribute Name
14791466
14801467**Abi** – Specifies the ABI of the native library.
@@ -1532,6 +1519,19 @@ distinct resource names.
15321519</ItemGroup>
15331520```
15341521
1522+ ### AndroidResourceAnalysisConfig
1523+
1524+ The Build action `AndroidResourceAnalysisConfig` marks a file as a
1525+ severity level configuration file for the Xamarin Android Designer
1526+ layout diagnostics tool. This is currently only used in the layout
1527+ editor and not for build messages.
1528+
1529+ See the [Android Resource Analysis
1530+ documentation](https://aka.ms/androidresourceanalysis) for more
1531+ details.
1532+
1533+ Added in Xamarin.Android 10.2.
1534+
15351535### Content
15361536
15371537The normal `Content` Build action is not supported (as we
@@ -1546,7 +1546,7 @@ Build action will result in a `XA0101` warning.
15461546Files with a * LinkDescription* build action are used to
15471547[control linker behavior](~/cross-platform/deploy-test/linker.md).
15481548
1549- <a name=" ProguardConfiguration" / >
1549+ <a name=" ProguardConfiguration" ></a >
15501550
15511551### ProguardConfiguration
15521552
0 commit comments