I have tried adding different implementations for constraintlayout
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha4'
implementation 'androidx.constraintlayout:constraintlayout:2.0.2'
Cleaning the project, still right clicking on constraintLayout does not show "Convert to motionLayout". I need to manually add another xml file under the xml directory for the motion. Looked into other people's problems. Seems they had the dependency issue. Any helps will be appreciated.