I am having
target android-4
in project.properties. In eclipse when I run the project I am getting the error
No compatible targets were found
How to resolve this>
You have to create an emulator or use a device that is compatible with this target. i.e the device or emulator should have a android version that is compatible with this project.
For running an Emulator instance, you will have to create a virtual android device. For this you will need the AVD - In Eclipse click "Window -> Android SDK and AVD manager" Click create new AVD and this screen will pop up. Create the virtual device with your target or higher and run your project.
check this tutorial out for more info: https://developer.android.com/tools/devices/managing-avds.html