No compatible targets were found

Achaius picture Achaius · Oct 5, 2012 · Viewed 33.5k times · Source

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>

Answer

Anup Cowkur picture Anup Cowkur · Oct 5, 2012

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.

enter image description here

check this tutorial out for more info: https://developer.android.com/tools/devices/managing-avds.html