The image set by app: srccompat in Android constraintlayout cannot be displayed


When using app: srccompat, the solution is that the pictures can’t be displayed

The first thing you want to see is which activity your activity inherits. If you inherit appcompatactivity, there is no problem using ImageView’s app: srccompat

If your activity is not an inherited appcompatactivity, you need to use instead of ImageView

Similar Posts: