Skip to content

Alignment warnings when targeting net9.0-android - MAUI #3633

Closed
getsentry/sentry-java
#3620

Description

@bcaceiro

Problem Statement

Building dotnet maui with .net 9 there are warnings regarding Sentry lib:

NuGet package '' version '' contains a shared library 'libsentry-android.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details
NuGet package '' version '' contains a shared library 'libsentry.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details
NuGet package '' version '' contains a shared library 'libsentry-android.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details
NuGet package '' version '' contains a shared library 'libsentry.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details
NuGet package '' version '' contains a shared library 'libsentrysupplemental.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details
NuGet package '' version '' contains a shared library 'libsentrysupplemental.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details

Activity

  1. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 26, 2024
  2. jamescrosswell commented on Sep 26, 2024

    @jamescrosswell
    Collaborator

    Thanks @bcaceiro. We're still working on .NET 9 support and I've associated this with the main ticket that is being used to track progress against that.

    I wouldn't recommend using Sentry 4.x with net9.0.

  3. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 26, 2024
  4. added this to the 5.0.0 milestone on Sep 26, 2024
  5. bcaceiro commented on Sep 27, 2024

    @bcaceiro
    Author

    Thank you for the information @jamescrosswell ! Will keep an eye on updates!

  6. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Sep 27, 2024
  7. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Sep 27, 2024
  8. supervacuus commented on Nov 1, 2024

    @supervacuus

    related to:

    While 'libsentrysupplemental.so is specific to this repo. This should resolve this specific issue:

  9. moved this to Waiting for: Product Owner in GitHub Issues with 👀 3on Nov 1, 2024
  10. changed the title [-]Sentry SDK .net 9 - MAUI[/-] [+]Alignment warnings when targeting net9.0-android - MAUI[/+] on Nov 4, 2024
  11. moved this from Waiting for: Product Owner to No status in GitHub Issues with 👀 3on Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions