将 androidx.constraintlayout:constraintlayout lib 更新到 2.0.2 版本后崩溃了 isRtl () null reference
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.
谁遇到过类似的问题?更新之前一切正常。
更新
Google 已在 version 2.0.3 中发布修复。
过期:
Google 知道这个问题。随意给它加注星标,因为更多加注星标可能会帮助他们提高优先级。也可以随意添加导致崩溃的示例代码,以帮助他们重现问题并修复它。
https://issuetracker.google.com/issues/170316875
作为临时解决方法,您可以添加:
app:layout_optimizationLevel="none"
更好的解决方案可能是降级到 2.0.1
,直到此问题得到解决。
Attempt to invoke virtual method
'boolean androidx.constraintlayout.solver.widgets.ConstraintWidgetContainer.isRtl()'
on a null object reference.
谁遇到过类似的问题?更新之前一切正常。
更新
Google 已在 version 2.0.3 中发布修复。
过期: Google 知道这个问题。随意给它加注星标,因为更多加注星标可能会帮助他们提高优先级。也可以随意添加导致崩溃的示例代码,以帮助他们重现问题并修复它。
https://issuetracker.google.com/issues/170316875
作为临时解决方法,您可以添加:
app:layout_optimizationLevel="none"
更好的解决方案可能是降级到 2.0.1
,直到此问题得到解决。