 <p>Android 2.3, 2.3.1, 2.3.2 supports api 9. You are getting an error because you are using Android 2.1. Solution:- open AndroidManifest.xml file find and update line </p> <pre><code>&lt;uses-sdk android:minSdkVersion="9" /&gt; </code></pre> <p>to as shown below,</p> <pre><code> &lt;uses-sdk android:minSdkVersion="7" /&gt; </code></pre> <p>This will definitely solve your problem. </p>