Home>
Hello.
I have a question about the following error.
Widget has an unresolved type 'android.support.design.widget.CoordinatorLayout', and thus it was upcasted to 'android.view.View
Widget has an unresolved type 'android.support.design.widget.FloatingActionButton', and thus it was upcasted to 'android.view.View
I think something in the layout is bad, but I don't know. .
<? xml version = "1.0" encoding = "utf-8"?>
</android.support.design.widget.CoordinatorLayout>
I would appreciate your teaching.
-
Answer # 1
Related articles
- android emulator - android studio refactoring preview method
- java - i want to fix an error in android studio
- about error in android studio xml file
- i get an error when i try to put opencv into android studio
- android studio - null-related error, the application crashes and cannot be resolved
- i get an error in android studio and can't run
- android studio - about error resolution of flutter package cover
- why the android studio emulator is moving too slowly
- java - error in android studio
- java - error when building android studio ml kit for firebase [plugin with id'comandroidapplication' not found]
- i get an error when building in android studio
- xamarin android emulator decryption error
- android studio emulator does not start
- visual studio android emulator does not start and a placement error occurs
- i got an unexpected error when i moved the files i had created to the latest version of android studio
- onclick - i am developing an application in android studio if you execute it, it will be forcibly terminated
- module name is not displayed in android studio
- java - i want to open a site with a fixed url when i tap the icon of the android studio app
- android studio - i want to write a program that switches images using viewpager2
- java - i want to reflect the data selected with android studio spinner in the textview
Related questions
- java : How to find Kotlin code in a project
- android : Errors when parsing xml via simplexml converter to retrofit
- android : How to use recyclerview item as button in Kotlin
- java : TextInputLayout overrides the hint property
- android : The names of all files in the folder should be recorded, and only the name of the first (Kotlin) is recorded
- android : Rotating text on canvas
- android : Insert in afterTextChanged is not triggered correctly by the line length condition
- android : Kotlin get time from server
- android : How to transfer a list to a Spinner depending on the selected item in another Spinner?
- android : How to make code return Unit and not String (Kotlin)
Although it is an Android support library, the package name has changed recently, and it used to be android.support. ~, But now it is recommended to use androidx. ~.
Also, the package name of FloatingActionButton seems to have changed.
If this results in an error, add the following to app/build.gradle:
Also, remove the implementation 'com.android.support ~' and use the corresponding androidx version.