[英]Android Studio cannot find Samsung device on my Mac but works in PC
I recently got a replacement of Samsung Galaxy Note 3 with Lollipop (stock rom, no root). 我最近用Lollipop(库存ROM,无根)替换了Samsung Galaxy Note 3。 I used to use this device with rooted version and it worked perfectly with my Android Studio on my OSX 10.10.5 Yosemite.
我曾经使用该设备的根目录版本,它与OSX 10.10.5 Yosemite上的Android Studio完美配合。
Now, with a new phone, it doesn't want to connect. 现在,有了新手机,它就不想连接了。
What I have done: 我做了什么:
Installed/re-installed Samsung Kies3 OR Android Data Transfer that was provided from Google many many times. 已安装/重新安装了很多次由Google提供的Samsung Kies3或Android数据传输。 (Interestingly, data transfer works just fine.)
(有趣的是,数据传输工作正常。)
Reinstalled adb drivers using this adb not finding my device / phone (MacOS X) -> What's funny is, in my System Information, it says SAMSUNG_Android instead of Unkown device. 使用此adb重新安装了adb驱动程序, 但找不到我的设备/电话(MacOS X) ->有趣的是,在我的系统信息中,它显示为SAMSUNG_Android而不是Unkown设备。
Disabled/Enabled developer mode & USB Debugging 禁用/启用开发人员模式和USB调试
Restarted the phone 重新启动手机
Changed the cables, Used/Not used usb hubs. 更换电缆,已使用/未使用的USB集线器。
Tried on PC (Windows 10, Android Studio). 在PC(Windows 10,Android Studio)上尝试过。 WORKS LIKE A BOSS.
像老板一样工作。
The problem I'm guessing 我猜的问题
I think the phone fails at registering my Macbook Pro as a trusted device because every single time I connect to my Macbook Pro, it would ask if I want to allow USB debugging on this device. 我认为手机无法将Macbook Pro注册为受信任的设备,因为每次我连接到Macbook Pro时,手机都会询问我是否要允许在此设备上进行USB调试。 (Yes I check "always allow on this device" every time it is asked. I tried to revoke USB debugging authorizations, too)
(是的,每次询问时,我都选中“始终允许在此设备上使用。”我也试图撤消USB调试授权)
Has anyone have the same problem? 有没有人有同样的问题? I really need to work on my laptop because I'd have to go somewhere out of town where I can't be in front of my PC.
我真的需要在笔记本电脑上工作,因为我必须走到外面无法在PC前面的地方。
Thank you in advance!! 先感谢您!!
After looking and looking, I finally found a solution. 经过一番寻找,我终于找到了解决方案。
It was because of EasyTether I installed on OSX and my phone. 这是因为我在OSX和手机上安装了EasyTether。
Using this solution , I solved the issue. 使用此解决方案 ,我解决了这个问题。
Only problem was I could not unload the kext so I just removed it and restarted the OSX. 唯一的问题是我无法卸载kext,因此我将其删除并重新启动了OSX。 Finally device showing up on ADB.
最后,设备显示在ADB上。
If you have installed EasyTether on OS X, the EasyTetherUSBEthernet.kext can prevent adb from communicating with your mobile device. 如果您在OS X上安装了EasyTether,则EasyTetherUSBEthernet.kext可以阻止adb与您的移动设备进行通信。
If you use Easy Tether, BEFORE you plug in your phone run: 如果您使用Easy Tether,请在插入手机运行之前:
sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
(or unplug/plug your phone in after) (或之后拔下/插上手机)
If you are done debugging and want to use EasyTether again, either restart or: 如果您已完成调试并想再次使用EasyTether,请重新启动或:
sudo kextload /System/Library/Extensions/EasyTetherUSBEthernet.kext
If you want to remove the EasyTether kext so it never hassels you again: 如果要删除EasyTether kext,以免再次麻烦您:
sudo kextunload /System/Library/Extensions/EasyTetherUSBEthernet.kext
sudo rm -rf /System/Library/Extensions/EasyTetherUSBEthernet.kext
Reference/Credit: http://www.intohand.com/post.php?s=2011-02-17-android-debug-bridge-not-just-working-on-mac 参考/信用: http : //www.intohand.com/post.php? s = 2011-02-17-android-debug-bridge-not-just-working-on- mac
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.