I had the same issue and i upgraded the Constraintlayout version to 2.0.2 and its working fine now. Thanks