I am getting Error:(26) No resource identifier found for attribute \'srcCompat\' in package \'learnapp.android.example.com.learnapp\'
when I try to run my app.I
You can also try
android:src = "@drawable/ic_dialog_email"
instead of
app:srcCompat="@android:drawable/ic_dialog_email"
I had the same error and this worked for me.
It looks like you just created a new project. So what fixed it for me was updating my build support tools, then creating a new project from scratch.
To update: Android Studio->Preferences...->Appearance & Behavior->System Settings->Android SDK->Android SDK Build-Tools->Check the box to update
i got the similar issue.
my instructor try update API 22 to API 25, and it's work. maybe you could try on the same.