Skip to content

Bug Visual Studio 2022 Project Maui Android #27121

Closed

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


Hello, I had a problem with Visual Studio with the Maui project for Android.
In short, everything always worked fine in Debug Mode.
When I published an APK, a fatal error appeared that closed the application.
Later, since the problem was a page when I entered it, I created another one and it started working. I changed the functions until I found the bug.
See:
<Label x:Name=" Rota_Atual" Text =" Rota: 1234" TextColor="Black"/> "space"
<Label x:Name="Rota_Atual" Text =" Rota: 1234" TextColor="Black"/>
note that the correct one is: <Label x:Name="Rota_Atual"...
in the code I'm going to put Rota_Atual.Text = "blablabla...".
besides not showing an error, it worked as Debug.
this character " " previously only appeared in Release and APK time.

I hope this helped, it took me four days to solve it.


Original Comments

Feedback Bot on 1/13/2025, 07:06 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Carlos Candido on 1/14/2025, 02:25 AM:

(private comment, text removed)

Activity

  1. added
    area-xaml
    on Jan 16, 2025
  2. added
    t/bug
    on Jan 16, 2025
  3. added this to the .NET 9 SR4 milestone on Jan 16, 2025
  4. RoiChen001 commented on Jan 20, 2025

    @RoiChen001

    Could you provide us with a sample project so we can investigate it further? Looking forward to your reply!

  5. added
    s/needs-repro
    on Jan 28, 2025
  6. dotnet-policy-service commented on Jan 28, 2025

    @dotnet-policy-service
    Contributor

    Hi @vsfeedback. 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.

  7. added a commit that references this issue on Jan 29, 2025
    f256ea6
  8. dotnet-policy-service commented on Feb 3, 2025

    @dotnet-policy-service
    Contributor

    This issue has been automatically marked as stale because it has been marked as requiring author feedback to reproduce the issue but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

  9. added
    s/no-recent-activity
    on Feb 3, 2025
  10. added a commit that references this issue on Feb 3, 2025
    a241d5f
  11. added a commit that references this issue on Feb 3, 2025
    c5a5f4c
  12. added a commit that references this issue on Feb 4, 2025
    af904b3
  13. locked and limited conversation to collaborators on Mar 6, 2025
  14. removed
    s/no-recent-activity
    on Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area-xamls/needs-reprot/bug

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions