未找到兼容的目标......真实的设备,日食 [英] No compatible targets were found... real device, eclipse

查看:164
本文介绍了未找到兼容的目标......真实的设备,日食的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我表演 http://developer.android.com/培训/基础/​​ firstapp /磨合app.html 当我试图

在真实设备上运行

在Eclipse中,我得到

from Eclipse I get

Android的AVD错误

Android AVD Error

未找到兼容的目标...

No compatible targets were found...

为什么它会尝试在AVD运行,如果我已经连接真实的设备?如何解决这个问题?

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

推荐答案

首先右键单击在您的项目 - >运行方式 - >运行CONFIGRATION

First right click of on your project ->Run As -> Run configration

现在选择目标选项卡并单击单选按钮始终提示拿起设备

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

现在你应该从SDK管理器安装谷歌USB驱动程序。

Now you should have to install Google Usb Driver from the SDK manager.

现在,你必须允许device.Go USB调试设置 - >应用程序 - >开发(在API等级10)。还有一件事,你的最大/最小/目标必须等于你的设备(机器人:targetSdkVersion = 10)在AndroidManifest.xml中。

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.

做这些步骤,再次从Eclipse中运行你的应用程序与你的手机连接,你会发现你的手机像这样的后

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

这篇关于未找到兼容的目标......真实的设备,日食的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆