简体   繁体   English

Android设备未在Eclipse中检测到

[英]Android Device Not Detecting In Eclipse

I am trying to run my application on my Device from the Eclipse In windows.But my device is not detecting there in the eclipse. 我试图从Eclipse In Windows中运行我的设备上的应用程序。但我的设备没有在日食中检测到。

My device driver is updated. 我的设备驱动程序已更新。 In My device, I turned on "USB debugging mode" in Settings->Application->Development and also "Allow installation of non-market Applications" in Settings->Application->Development. 在我的设备中,我在设置 - >应用程序 - >开发中打开了“USB调试模式”,并在设置 - >应用程序 - >开发中打开了 允许安装非市场应用程序” And in Eclipse Target tab, selected "Always prompt to select device" . 在Eclipse Target选项卡中,选择“始终提示选择设备” My ProjectBuildTarget is not newer than my device's version. 我的ProjectBuildTarget并不比我的设备版本新。 And tried adb kill-server also. 并尝试了adb kill-server

When i run adb devices it shows nothing in my command prompt. 当我运行adb设备时,它在我的命令提示符中不显示任何内容。

How do I get Eclipse to load my app to my phone instead of my AVD? 如何让Eclipse将我的应用程序加载到手机而不是我的AVD?

When i tried it in my Mac machine It works perfectly.. 当我在我的Mac机上试用它时效果很好..

Any solutions? 有解决方案吗 Please suggest me.. 请建议我..

Please try the following: 请尝试以下方法:

  1. Go to settings in your phone 转到手机中的设置
  2. Go to storage menu 转到存储菜单
  3. Select connect as MTP 选择connect作为MTP

Worked for me! 为我工作!

If you are using a MAC OS.... no need to install the Driver 如果您使用的是MAC OS ....则无需安装驱动程序

But for Windows, try this http://developer.android.com/training/basics/firstapp/running-app.html#RealDevice 但是对于Windows,请试试这个http://developer.android.com/training/basics/firstapp/running-app.html#RealDevice

Debugging to phone 调试到手机

Please see the link above, the process is defined there from google. 请参阅上面的链接,该过程是从谷歌定义的。

try deleting your AVD and leave your phone connected, then restart your IDE. 尝试删除AVD并保持手机连接,然后重新启动IDE。 Make sure you've downloaded the OEM USB drivers. 确保您已下载OEM USB驱动程序。 If it still doesn't appear on the list, hit refresh then just run your app. 如果它仍未显示在列表中,请点击刷新然后运行您的应用。

关闭你AVD如果它正在运行,然后重新插入你的移动设备,检查你的手机USB调试通知应该来。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM