There are three ways to resolve this issue.
Right click the project and click "Properties". Then select "Android" from left. You can then select the target version from right side.
Right Click on Project and select "run as" , then a drop down list will be open.
Select "Run Configuration" from Drop Down list.Then a form will be open ,
Select "Target" tab from "Form" and also select Android Version Api ,
On which you want to execute your application, it is a fastest way to check
your application on different Target Version.
Edit the following elements in the AndroidManifest.xml file
xml:
<uses-sdk android:minSdkVersion="3" />
<uses-sdk android:targetSdkVersion="8" />