title: Failed to convert @drawable/ into a drawable
body: <p>I have added an image to my Android project which I want to use in the UI. I have added the file <em>my-image.png</em> to the <em>drawable</em> directory (to all 4 drawable directories created with the project), and added the <code>ImageView</code> to the layout:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;ImageView
      android:layout_width=&quot;wrap_content&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:id=&quot;@+id/imageView&quot;
      android:layout_alignParentBottom=&quot;true&quot;
      android:layout_alignLeft=&quot;@+id/textView&quot;
      android:layout_marginBottom=&quot;63dp&quot;
      android:src=&quot;@drawable/my-image&quot; /&gt;
  </code></pre>
  <p>The problem is that I get the following error:</p>
  <blockquote>
  <p>Rendering Problems</p>
  <p>Failed to convert @drawable/my-image into a drawable</p>
  </blockquote>
  <p>This is the capture:</p>
  <p><img src="https://i.stack.imgur.com/JQsTp.png" alt="enter image description here" /></p>
  <p>Additionaly, if I try to compile the project, I get the following error:</p>
  <blockquote>
  <p>Gradle: Execution failed for task ':MyProject:processDebugResources'.</p>
  </blockquote>
  <p>Why do I get these errors and how can I solve it? Am I missing something? I've just started Android development.</p>