Answer the question
In order to leave comments, you need to log in
No resource identifier found for attribute 'srcCompat' in package how to fix?
I am facing error in android studio for imageVIew element:
Error:(11) No resource identifier found for attribute 'srcCompat' in package 'com.example.NAMEGAME'
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/lib/com.example.NAMEGAME"
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.example.NAMEGAME.forma1"
android:id="@+id/forma1">
<ImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:srcCompat="@drawable/forma1gif"
/>
</LinearLayout>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question