title: Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #14: invalid drawable tag gradient
body: <pre><code> val cardImage = creditCardModel?.let { cardHelper.getCardImage(it) }
   cardImage?.let { ivCardImage.setImageResource(it) }
  </code></pre>
  
  <p><strong><em>ic_salepluscard.xml</em></strong></p>
  
  <pre><code>&lt;vector android:autoMirrored="false"
  android:height="130dp"
  android:viewportHeight="130"
  android:viewportWidth="288"
  android:width="288dp"
  xmlns:aapt="http://schemas.android.com/aapt"
  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;group&gt;
      &lt;clip-path android:pathData="M0,0h288v130h-288z M 0,0" /&gt;
      &lt;group&gt;
          &lt;clip-path android:pathData="M0,0h288v130h-288z M 0,0" /&gt;
          &lt;path android:pathData="M0,0H288V130H0Z"&gt;
              &lt;aapt:attr name="android:fillColor"&gt;
                  &lt;gradient
                      android:endX="234.72"
                      android:endY="179.66"
                      android:startX="26.496"
                      android:startY="-15.08"
                      android:type="linear"&gt;
                      &lt;item
                          android:color="#FF60707A"
                          android:offset="0" /&gt;
                      &lt;item
                          android:color="#FF181F23"
                          android:offset="0.323" /&gt;
                      &lt;item
                          android:color="#FF88959D"
                          android:offset="0.678" /&gt;
                      &lt;item
                          android:color="#FF181F23"
                          android:offset="1" /&gt;
                  &lt;/gradient&gt;
              &lt;/aapt:attr&gt;
          &lt;/path&gt;&lt;/vector&gt;
  </code></pre>
  
  <p><strong><em>Logcat errors:</em></strong></p>
  
  <p><em>android.content.res.Resources$NotFoundException: File res/drawable/ic_saleplusplatinumkart.xml from drawable resource ID #0x7f020250. If the resource you are trying to use is a vector resource, you may be referencing it in an unsupported way. See AppCompatDelegate.setCompatVectorFromResourcesEnabled</em></p>
  
  <p><em>android.content.res.Resources$NotFoundException: File res/drawable/ic_saleplusplatinumkart_1.xml from color state list resource ID #0x7f020373</em></p>
  
  <p><em>Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #14: invalid drawable tag gradient</em></p>
  
  <p>I tried everything but I couldn't find a solution.Can you help me how can I solve this problem?</p>