Tags
Android
Asked 3 years ago
4 Oct 2021
Views 985
Bailee

Bailee posted

Android - ConstraintLayout missing in the Androidx

Class referenced in the layout file, androidx.constraintlayout.ConstraintLayout, was not found in the project or the libraries


<androidx.constraintlayout.ConstraintLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
</androidx.constraintlayout.ConstraintLayout>
hanuman

hanuman
answered Oct 4 '21 00:00

replace <android.support.design.widget.TextInputLayout
with <androidx.constraintlayout.widget.ConstraintLayout
Post Answer