After updating androidx.constraintlayout:constraintlayout lib to 2.0.2 version got crash isRtl () null reference

Viewed 1148
Attempt to invoke virtual method 
'boolean androidx.constraintlayout.solver.widgets.ConstraintWidgetContainer.isRtl()' 
on a null object reference.

enter image description here

Who faced with simmilar problem? Before update everything worked well.

1 Answers

Update

Google has released a fix in version 2.0.3.


Outdated: Google is aware of the issue. Feel free to star it, as more stars on the issue might help them prioritize it higher. Feel free to also add sample code that is causing the crash to help them reproduce the issue and fix it.

https://issuetracker.google.com/issues/170316875

As a temporary workaround, you might be able to add:

app:layout_optimizationLevel="none"

A better solution might be to downgrade to 2.0.1 until this issue is resolved.

Related