Eclipse不能识别我的android 4.4.2 [英] Eclipse doesn't recognize my android 4.4.2

查看:183
本文介绍了Eclipse不能识别我的android 4.4.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Android BQ Aquaris E5 HD版本4.4.2,当我将其插入我的mac,Android文件管理器启动,这一切都可以,但是当我从eclipse运行我的Android应用程序,我的手机不显示在设备列表上以运行该应用。
但是,如果我尝试使用三星SIII,它可以正常工作



这里有什么问题?

解决方案

我有同样的问题,相同的设备(BQ Aquaris 5 HD),同样的Android版本(4.4.2),也是一个mac(@Serge答案是为Windows操作系统我认为)。我在这个答案中找到了解决方案,用户

按照关于编辑adb_usb.ini的步骤,在我的情况下,供应商ID是0x2a47,但是只是自己检查一下



由于某种原因,命令 echo 0x2a47 >>〜/ .android / adb_usb.ini 对我无效。如果发生这种情况,请转到您的家庭文件夹(默认情况下,终端将打开,或者只需执行命令 cd ),然后执行命令 ls -a 查看隐藏文件,并检查.android文件夹是否存在。进入( cd .android )并执行 echo 0x2a47 >> adb_usb.ini ,它应该可以正常工作。您可以使用pico( pico adb_usb.ini )进行检查。



现在重置adb。在我的情况下,我没有它作为一个环境变量,我去了add程序的文件夹,在sdk内。它应该是像 / android-sdk-macosx / platform-tools / 之类的东西。只要找它,应该很容易。要重置adb执行命令 ./ adb kill-server (或者只是将 adb kill-server ,如果你有一个环境变量),然后 ./ adb设备。它应该重新启动守护程序。插上你的Aquaris并再次执行 ./ adb设备。如果一切顺利,现在应该出现。



还有一件事。现在应该在您的手机中出现一个弹出窗口,并提供有关该计算机调试的建议。例如,如果您不接受该设备,则会在eclipse中提示选择设备时显示为脱机和不可选。如果您接受该设备将最终可用于调试,当您使用模拟器时。



对不起,如果我解释了一些明显的步骤,但我遇到了很多问题



如果您仍然遇到问题,请确保已将设备设置为调试模式(七个构建号码点击)。请查看这些问题以获取更多详细信息:



如何将我的应用程序从Eclipse加载到我的Android手机而不是AVD



adb找不到我的设备/手机(MacOS X)


I have an android BQ Aquaris E5 HD with the version 4.4.2 and when I plug it on my mac, the android file manager launch and it's all ok, but when I run my android app from eclipse my phone doesn't appear on the devices list to run the app. But if I try for example with a Samsung SIII it works fine

What can be wrong here ?

解决方案

I had the same problem, same device (BQ Aquaris 5 HD), same Android version (4.4.2), also a mac (@Serge answer is for Windows OS I think) . I found the solution following this answer from user dustmachine in another topic.

Follow the steps about editing the adb_usb.ini, in my case the vendor ID was 0x2a47 but check it yourself just in case.

The command echo 0x2a47 >> ~/.android/adb_usb.ini did not work for me for some reason. If that happens to you, go to your home folder (terminal will open there by default, or just execute the command cd) and execute the command ls -a to see the hidden files and check that the .android folder exists. Go in (cd .android) and execute echo 0x2a47 >> adb_usb.ini and it should work just fine. You can check it for example with pico (pico adb_usb.ini).

Now reset adb. In my case as I don't have it as an environment variable, I went to the folder where the adb program is, inside the sdk. It should be something like /android-sdk-macosx/platform-tools/. Just look for it around, should be easy. To reset the adb execute the command ./adb kill-server (or just adb kill-server if you have adb as a environment variable) and then ./adb devices. It should restart the daemon. Plug your Aquaris and execute ./adb devices again. If everything went well, it should appear now.

One more thing. It should appear now in your mobile phone a pop-up with an advice about debugging from that computer. If you don't accept it the device will appear as offline and unelectable when prompt to pick device in eclipse, for example. If you accept the device will finally be available for debugging as when you work with the emulator.

Sorry if I explained some obvious steps, but I encountered a ton of problems with small things like those while finding the solution.

If you still encounter problems, be sure that you have set your device to debugging mode (the seven build-number tap). Check this questions for more detailed information:

How to load my app from Eclipse to my Android phone instead of AVD

adb not finding my device / phone (MacOS X)

这篇关于Eclipse不能识别我的android 4.4.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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