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
Could not find Android Resource.. #19645
Comments
Hi @South2AK. 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. |
I have update target framework from net6.0-android33.0 to net8.0-android34.0 and I have the same issue. |
Also happens here. Steps to Reproduce:
nothing further. |
|
I have the same error 😞:
|
When upgrading from .NET 6 to .NET 8 on my project using outdated packages. I had to add
to Platforms/Android/Resources/values/attrs.xml to get the project to build and deploy. After updating all packages, I was getting the issue mentioned in OP. I removed this from attrs.xml and stopped getting the error. Edit: It seems to work sometimes and not work other times, as OP. |
Still exists with 8.07 Maui.. Make sure to change the |
I have this intermittently. If it happens, my solution won't build for an hour or so, and then it will start building again. There must be some caching involved, but it isn't related to the Also, it only starts when I make a clean build, on my local machine (Debian Linux), and never in CI (also Debian Linux). |
Sometimes running |
Updating the |
It seems, if you install this package: |
Description
Could not find Android Resource '@styleable/SKCanvasView'. Please update to add the missing resource.
Could not find Android Resource '@styleable/SKCanvasView_ignorePixelScaling'. Please update @(AndroidResource) to add the missing resource.
Debugging works every second time (when the error occurs and I Debug again it works
Building a project works also
Rebuilding doesn´t work anymore at all
I already deleted the Bin / Obj Folders, cleaned the project but nothing worked.
I also did uninstsall SkiaSharp from Nuget Packager to see if there is any difference but to no avail.
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.3
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: