Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

I get an ANR after migrating from Xamarin.Android.Support.Constraint.Layout 1.1.0 to 2.0.1 #243

Open
gonzobrains opened this issue Dec 16, 2020 · 0 comments

Comments

@gonzobrains
Copy link

Xamarin.Android Version (eg: 6.0): 10.0

Operating System & Version (eg: Mac OSX 10.11): Windows 10

Support Libraries Version (eg: 23.3.0): 28.0.0.3

Describe your Issue:

I changed the API level of my project from 28 to 29 in order to comply with Play Store requirements. While doing so I updated the constraint layout NuGet package from 1.1.0 to 2.0.1. After this one of my screens started to hang. I got an ANR and the screen took several minutes to display whereas before it was only a few seconds.

While reviewing DDMS I saw that the main thread was never blocked, but it spent most of its time dealing with constraint-related processing. When I reverted to an older version it started working.

What were the major changes between 1.1.0 and 2.0.1? Is 2.0.1 not compatible with Android 10? Should I start making a move towards AndroidX?

Steps to Reproduce (with link to sample solution if possible):

Include any relevant Exception Stack traces, build logs, adb logs:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant