Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No compatible targets were found

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>

like image 591
Achaius Avatar asked Oct 05 '12 07:10

Achaius


2 Answers

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

like image 75
Anup Cowkur Avatar answered Sep 30 '22 02:09

Anup Cowkur


Create AVD that supports android-4(Android 1.6) or change your android-4 target to android-8.

How to create new AVD ?

on Eclipse, [Window> Android AVD Manager] select,

you press the [new] button, you can create new Android Virtual Device 
like image 23
Chirag Avatar answered Sep 30 '22 03:09

Chirag