Andrej B.
Andrej B.

Reputation: 207

No compatible targets were found... real device, eclipse

I'm performing http://developer.android.com/training/basics/firstapp/running-app.html When I'm trying

Run on a Real Device

from Eclipse I get

Android AVD Error

with

No compatible targets were found...

Why it tries to run on AVD if I have connected real device? How to fix it?

Upvotes: 0

Views: 18298

Answers (6)

Mohammed El-Sharnouby
Mohammed El-Sharnouby

Reputation: 71

i solved it.... if you are using samsung you need to install samsung kies

Upvotes: 0

Jesus Dimrix
Jesus Dimrix

Reputation: 4568

Change usb port if it doesn't work try change the cable even if ht e good .don't ask me why this is happening .

Upvotes: 1

Talha Q
Talha Q

Reputation: 4360

First right click of on your project ->Run As -> Run configration enter image description here

Now Select the Target Tab and Click Radio button "Always Prompt to pick up the device" enter image description here

Now you should have to install Google Usb Driver from the SDK manager. enter image description here

Now you must allow usb debugging on device.Go to Settings->Application->Development(on API level 10).Also one more thing your min/max/target must be equal to your device(android:targetSdkVersion="10") in your AndroidManifest.xml.

enter image description here

After Doing these steps again run your app from eclipse with your mobile connected you will find your mobile like this enter image description here

Upvotes: 10

user666
user666

Reputation: 492

There is a few possibilites. First make sure you install USB Driver. You can see if you install it by right clicking on your Computer > Manage > Device Manager. Then see if there is your Android Device. If not go to your SDK folder > extras > Google then usb_driver. Install that.

Upvotes: 1

Boldijar Paul
Boldijar Paul

Reputation: 5495

You also need to install your phone android device. Did you already installed it? Device manager should look like this - http://s9.postimg.org/4s0s0ope7/Capture.png

Upvotes: 1

themrbigfoot
themrbigfoot

Reputation: 9

Make sure your device Android version is the same or greater than your min SDK specified in your Manifest. Also make sure you have enabled your devices Developer mode. Settings->Developer->USB Debugging->ON.

Upvotes: 0

Related Questions