C
C
coden552015-11-26 16:44:09
Android
coden55, 2015-11-26 16:44:09

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

1 answer(s)
V
Vasilij Aleksashin, 2015-12-03
@TerraMorf

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 question

Ask a Question

731 491 924 answers to any question