-
-
Notifications
You must be signed in to change notification settings - Fork 226
Labels
Description
Problem Statement
When building a dotnet android app for Android 15, referencing Sentry.Maui 4.12.1, I get the following warning message:
C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.0-rc.2.152\tools\Xamarin.Android.Common.targets(2113,3): warning XA0141: NuGet package '<unknown>' version '<unknown>' contains a shared library 'libsentry-android.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details [D:\Dev\Zitch\ouibank\OuiBank.Maui\O
uiBank.Maui.csproj::TargetFramework=net9.0-android35.0]
C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.0-rc.2.152\tools\Xamarin.Android.Common.targets(2113,3): warning XA0141: NuGet package '<unknown>' version '<unknown>' contains a shared library 'libsentry.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details [D:\Dev\Zitch\ouibank\OuiBank.Maui\OuiBank.M
aui.csproj::TargetFramework=net9.0-android35.0]
C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.0-rc.2.152\tools\Xamarin.Android.Common.targets(2113,3): warning XA0141: NuGet package '<unknown>' version '<unknown>' contains a shared library 'libsentrysupplemental.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details [D:\Dev\Zitch\ouibank\OuiBank.Ma
ui\OuiBank.Maui.csproj::TargetFramework=net9.0-android35.0]
Solution Brainstorm
From https://developer.android.com/about/versions/15/behavior-changes-all#16-kb
Beginning with Android 15, Android supports devices that are configured to use a page size of 16 KB (16 KB devices). If your app uses any NDK libraries, either directly or indirectly through an SDK, then you will need to rebuild your app for it to work on these 16 KB devices.
Libraries in sentry.bindings.android should be updated.
Thanks.
jamescrosswell and HavenDV
Metadata
Metadata
Assignees
Labels
Projects
Status
Done
Status
No status