maui icon indicating copy to clipboard operation
maui copied to clipboard

[Android] Java.Lang.IllegalArgumentException: 'No view found for id 0x7f0900fd (com.twe.elon:id/labeled) for fragment NavigationRootManager_ElementBasedFragment{e99ccf3} (d735450b-8b7e-4e10-87d0-3b9a8251e4b3 id=0x7f0900fd)' #24774

Open eli191 opened this issue 1 year ago • 4 comments

Description

I ran across this bug today. My code didn't change and I don't know how to fix it. I am using MAUI 8.0.82.

[Android] Java.Lang.IllegalArgumentException: 'No view found for id 0x7f0900fd (com.twe.elon:id/labeled) for fragment NavigationRootManager_ElementBasedFragment{e99ccf3} (d735450b-8b7e-4e10-87d0-3b9a8251e4b3 id=0x7f0900fd)' #24774

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.82 SR8.2

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.82 SR8.2

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

eli191 avatar Oct 07 '24 10:10 eli191

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

ninachen03 avatar Oct 09 '24 10:10 ninachen03

@eli191 I was hitting pretty much this exact same error too, whilst trying to use a TabbedPage as my root. (Not using Shell navigation, as I know TabbedPage is incompatible with Shell - I'm using the old Push/Pop method of managing the navstack due to some of the complexities of my project.) I seem to have managed to work around it by running Clean Solution, uninstalling the app from my device (I use a physical device with Hot Reload as I develop from within a VM), doing a full rebuild and then redeploying. Hopefully that works for you too 🤞

CmdrFigrow avatar Oct 09 '24 11:10 CmdrFigrow

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

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.