Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 824
Narek Hayrapetyan Avatar asked Oct 09 '20 12:10

Narek Hayrapetyan


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.

like image 162
Westy92 Avatar answered Nov 20 '22 13:11

Westy92