Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bcaceiro opened this issue Sep 26, 2024 · 3 comments · Fixed by #3723 or getsentry/sentry-java#3620
Closed

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

bcaceiro opened this issue Sep 26, 2024 · 3 comments · Fixed by #3723 or getsentry/sentry-java#3620
Assignees
Milestone

Comments

@bcaceiro
Copy link

bcaceiro commented Sep 26, 2024

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

@jamescrosswell
Copy link
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.

@jamescrosswell jamescrosswell added this to the 5.0.0 milestone Sep 26, 2024
@bcaceiro
Copy link
Author

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

@supervacuus
Copy link

supervacuus commented Nov 1, 2024

related to:

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

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Nov 1, 2024
@jamescrosswell jamescrosswell changed the title Sentry SDK .net 9 - MAUI Alignment warnings when targeting net9.0-android - MAUI Nov 4, 2024
@getsantry getsantry bot removed the status in GitHub Issues with 👀 3 Nov 4, 2024
@github-project-automation github-project-automation bot moved this to Done in GDX Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment