Tags
Android
Asked 3 years ago
4 Oct 2021
Views 3649
Joanny

Joanny posted

Android - Cannot resolve class android.support.design.widget.CoordinatorLayout

Cannot resolve class android.support.design.widget.CoordinatorLayout


<android.support.design.widget.CoordinatorLayout 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"
>
</android.support.design.widget.CoordinatorLayout>
yogi

yogi
answered Oct 4 '21 00:00


<android.support.design.widget.CoordinatorLayout


replace with

 <androidx.coordinatorlayout.widget.CoordinatorLayout



and also


</android.support.design.widget.CoordinatorLayout>


replace with

 </androidx.coordinatorlayout.widget.CoordinatorLayout>


Post Answer