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

.Net 7 Android Maui FlayoutPage Crashes on Release Mode When Enable Trimming Selected #11514

Closed
planyazilim opened this issue Nov 20, 2022 · 5 comments
Labels
area-controls-flyoutpage FlyoutPage platform/android 🤖 s/needs-attention Issue has more information and needs another look t/bug Something isn't working

Comments

@planyazilim
Copy link

Description

.Net 7 Android Maui Basic FlayoutPage Crashes on Release Mode, When Enable Trimming = True.
OnDebug mode it workds.
On Release mode If Trimming = False it works.

Steps to Reproduce

  1. Create a New Project in .Net 7 Maui
  2. Put a simple FlyoutPage
  3. Check Enable Trimming on Android Release Mode
  4. Run and App crashes :(

Link to public reproduction project repository

none

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android

Did you find any workaround?

No response

Relevant log output

No response

@planyazilim planyazilim added the t/bug Something isn't working label Nov 20, 2022
@jsuarezruiz jsuarezruiz added platform/android 🤖 area-controls-flyoutpage FlyoutPage s/needs-repro Attach a solution or code which reproduces the issue labels Nov 21, 2022
@ghost
Copy link

ghost commented Nov 21, 2022

Hi @planyazilim. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

@jsuarezruiz
Copy link
Contributor

Could you share the exception logs?

cc @jonathanpeppers

@jonathanpeppers
Copy link
Member

This is probably fixed by: #11096

AndroidLinkResources=false in your .csproj fix it?

@planyazilim
Copy link
Author

@jonathanpeppers @jsuarezruiz
thank you, AndroidLinkResources=false solved my problem.
is this temporary solution?

@ghost ghost added s/needs-attention Issue has more information and needs another look and removed s/needs-repro Attach a solution or code which reproduces the issue labels Nov 21, 2022
@jonathanpeppers
Copy link
Member

In the next service release, you shouldn't need AndroidLinkResources=false anymore as it won't be turned on anymore.

Closing this as duplicate of dotnet/sdk#28880. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Dec 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-flyoutpage FlyoutPage platform/android 🤖 s/needs-attention Issue has more information and needs another look t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants