Xamarin.Forms: Android throws Invalid ID errors on UI interaction

it-neX 1 Reputation point
2020-11-26T15:39:53.563+00:00

I've recently updated our App to target the newest Android SDK since it is soon a requirement of the Play Store. Around the same time I got a new OnePlus 8T running Android 11(R) which I'm also using since it's the only device available to me with Android 10 or 11 on it.

On this device I encounter alot of errors logged to the output, but no exceptions, and also the app is behaving just fine. On other devices with older Android versions those errors don't occur:
43008-androididerror.png

Whenever I do anything on the UI I get these error messages, and of course scrolling through a ListView just floods the output.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,297 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Nikolaj King Lykkegaard 1 Reputation point
    2021-02-18T06:11:11.1+00:00

    I im seeing the same issues with my one plus running 10 and 11. I have tested it on other phone brands with the same xamarin app and i am inclined to believe that it is an issue related to oneplus. I am not seeing any performance issue but its a bit annoying because console is spammed and other messages get lost.

    I will update if i figure out the error

    0 comments No comments