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 android.support.v7.widget.appcompatimageview instead of ImageView
Similar Posts:
- [Solved] android.view.InflateException: Binary XML file line #0: Error inflating class ImageView
- [Solved] Java.lang.IllegalStateException: Circular dependencies cannot exist in RelativeLayout
- How to Solve setSupportActionBar() Method Error
- Error running app: Default Activity Not Found
- [Solved] The activity must be exported or contain an intent-filter
- Android Studio 3 Error Message: The activity must be exported or contain an intent-filter
- [Solved] Android.os.networkonmainthreadexception exception of Android
- [Solved] Android Bug: Error:com.android.dex.DexException: Multiple dex files define Landroid/support/design…
- [Solved] Android Studio Warning: Default Activity not found
- [Solved] Android Warning: android.content.res.Resources$NotFoundException: Resource ID #0x7f08010a