-
Notifications
You must be signed in to change notification settings - Fork 538
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev/grendel/use-libc++' into dev/grendel/clr-host
* dev/grendel/use-libc++: Add `$(Nullable)` = `annotations` to projects using NRT annotations without NRT enabled. (#9660) [Xamarin.Android.Build.Tasks] Add %(NuGetPackage*) to TaskItems (#9559) Bump to dotnet/java-interop@ee47652d (#9659) [XABT] Remove <CollectAssemblyFilesForArchive/> from FastDeployment (#9650) [Mono.Android] Generate API docs for API level 35 (#9647) [java-runtime] simplify `mono.MonoPackageManager.LoadApplication()` (#9655) [Mono.Android] Bind Android API-Baklava DP2. (#9653) [build+macOS] Remove quarantine from OpenJDK installations (#9652)
- Loading branch information
Showing
28 changed files
with
3,368 additions
and
370 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,28 @@ | ||
--- | ||
title: .NET for Android warning XA0141 | ||
description: XA0141 warning code | ||
ms.date: 07/22/2024 | ||
ms.date: 01/08/2025 | ||
--- | ||
# .NET for Android warning XA0141 | ||
|
||
## Issue | ||
|
||
NuGet package '{0}' version '{1}' contains a shared library '{2}' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details | ||
Future versions of Android on arm64 will require that native libraries use 16 KB page sizes. | ||
This requires that the mentioned native libraries be recompiled, and all apps using those | ||
native libraries be rebuilt to contain the fixed versions of the native libraries. | ||
|
||
See the Android SDK [Support 16 KB page sizes](https://developer.android.com/guide/practices/page-sizes) | ||
documentation for more information. | ||
|
||
## Solution | ||
|
||
The indicated native shared library must be recompiled and relinked with the 16k alignment, as per URL indicated in the message. | ||
The indicated native shared library must be recompiled and relinked with the 16k alignment, as per | ||
the Android SDK [Support 16 KB page sizes](https://developer.android.com/guide/practices/page-sizes) | ||
documentation. | ||
|
||
## Example messages | ||
|
||
> warning XA0141: Android 16 will require 16 KB page sizes, Shared library 'libface_detector_v2_jni.so' does not have a 16 KB page size. | ||
> Please inform the authors of the NuGet package 'Xamarin.GooglePlayServices.Vision.Face.Contour.Internal' version '116.1.0.19' | ||
> which contains 'lib/net8.0-android34.0/play-services-vision-face-contour-internal.aar'. | ||
> See https://developer.android.com/guide/practices/page-sizes for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule Java.Interop
updated
7 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.