Android的ADB(OSX狮)不承认Galaxy Nexus的,果冻豆 [英] Android adb (OSX Lion) does not recognize Galaxy Nexus, Jelly Bean

查看:124
本文介绍了Android的ADB(OSX狮)不承认Galaxy Nexus的,果冻豆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在开发安装在OSX狮Eclipse的我的第一个Android应用程序。我想用我的果冻豆Galaxy Nexus的调试,但 Android设备桥(ADB)能找不到设备:

I've been developing my first android apps on Eclipse installed on OSX Lion. I would like to use my Jelly Beans Galaxy Nexus for debugging, but the Android Device Bridge (adb) can't find the device:

./adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 

  • 在手机处于调试模式。
  • 的电话被识别为一个相机(PTP),但不作为媒体设备(MTP)。的PTP \ MTP设定亚行不考虑工作。
  • 我已经重新启动诺斯手机和MAC
  • 继<一href="http://stackoverflow.com/questions/9401049/samsung-galaxy-nexus-doesnt-appear-under-adb-devices-on-os-x">this建议,我已经安装了 Android文件传输。 ATF的识别设备,但没有运气与亚洲开发银行。
    • The phone is in debugging mode.
    • The phone is recognizable as a camera (PTP), but not as a media device (MTP). ADB does not work regardless of PTP\MTP setting.
    • I have restarted noth the phone and the mac
    • Following this advice, I've installed Android File Transfer. The ATF recognizes the device, but no luck with the ADB.
    • 任何想法?

      附录:我<一个href="https://$c$c.google.com/p/android/issues/detail?id=37059&thanks=37059&ts=1346842671">reported一个bug 这一点。解决方法仍然是最欢迎!

      Addendum: I have reported a bug for this. Workarounds are still most welcome!

      09月05日13:28 UTC - 解决方法1:Dropbox的:我搬到了OSX的Eclipse工作区的Dropbox,并在设备上安装了Dropbox的。该APK写入斌/ ,我从Dropbox的应用程序在每次成功构建后重新安装。

      Sep 5 13:28 UTC - Workaround #1: Dropbox: I've moved the OSX Eclipse workspace to Dropbox and installed Dropbox on the device. The APK is written to bin/, and I re-install it from the Dropbox app after each successful build.

      推荐答案

      我回答这个问题,因为我的老板刚刚与他的Galaxy Nexus的完全相同的问题,我们昨天终于修好了。他有一个应用程序,EasyTether被绊住了他的连接亚洲开发银行,它不能用于其他地方。难道你已经安装这个应用程序,或者类似的一个可能被利用亚行吗?如果Android文件传输的作品(它正在平行EasyTether为我的老板),那么你的连接处于活动状态,所以只要USB调试在你的设置中启用,你应该看到一个连接。这里有一个快速如何做的,你确实有出现的easytether

      I'm answering this because my boss just had the exact same issue with his Galaxy Nexus, and we finally fixed it yesterday. He had an application, "EasyTether" that was snagging his connection to ADB and it couldn't be used anywhere else. Is it possible that you've setup this application, or a similar one that might be using ADB for you? If "Android File Transfer" works (it was working in parallel with EasyTether for my boss), then your connection is active, so as long as "USB Debugging" is enabled in your settings, you should be seeing a connection. Here's a quick how-to in the event that you do have "easytether"

      您将您的手机运行在终端下

      BEFORE you plug your phone in run the following in terminal

      sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
      

      如果这解决了问题,而且要删除easytether干脆,你可以我们 RM 命令和 -rf 标记以防止其再次发生......

      If that fixes the issue, and you want to remove easytether altogether, you can us the rm command with the -rf flags to keep it from happening again...

      sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
      sudo rm -rf /System/Library/Extensions/EasyTetherUSBEthernet.kext
      

      这篇关于Android的ADB(OSX狮)不承认Galaxy Nexus的,果冻豆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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