Answer the question
In order to leave comments, you need to log in
Android Studio - Textview id error class or interface expected; class reference expected?
Error class or interface expected; Class reference expected comes out only on Textview, on all elements, it does not affect the program, but it is somewhat annoying. Why does android studio swear?
I couldn't find any info on this issue anywhere :(
<TextView
android:id="@+id/ATTRIBUTE_LAYER_OWNER_ID"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
Answer the question
In order to leave comments, you need to log in
I do not swear) Rather, the error is not in this. Maybe the R class is not generated? It's hard to tell without code.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question