'Android resource linking failed-imageview

IMAGEVIEW I try to display images from api, using glide library but I do get error in activity_main.xml, more precise in ImageView. I have done things like clean project, rebuild project, Invalidate and restart etc but the error is still there. Any suggestions?

ERRORLOG



Solution 1:[1]

Note the line

 app:layout_conta.....@id/coinSymbol

and

android:id=...

You are trying to constrain your layout with itself, which is causing the error. Please remove the first line and it should work.

Solution 2:[2]

Looks like you set the constraint of the imageview to itself (using the same id) in line:

app:layout_constraintTop_toBottomOf="@id/coinSymbol"

this can and will cause the resource linking error.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mayank1513
Solution 2 Daniel Toledano