Selection does not contain a main type. Eclipse error
<p>I've made an AVD (android virtual device).
But when i try to run my application, this shows up:</p>

<p>Your project contains error(s), please fix them before running your application.</p>

<p>The error log shows the following:
NUMBER 1: res\drawable-mdpi\testbackg.png:0: error: Resource entry testbackg is already defined.
NUMBER 2: res\drawable-mdpi\testbackg.jpg:0: Originally defined here.
NUMBER 3: C:\Users\Svein Inge\Android Eclipse\Test 1\res\layout\main.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/testbackg.png').</p>

<p>Here's my code (main.xml)</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:background="@drawable/testbackg.png"
    android:orientation="vertical" &gt;

    &lt;TextView
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:text="@string/open" /&gt;


&lt;/LinearLayout&gt;
</code></pre>

<p>help</p>
