Android Studio无法在Mac / Linux上识别OnePlus2 [英] Android Studio is not recognising OnePlus2 on Mac/Linux

查看:167
本文介绍了Android Studio无法在Mac / Linux上识别OnePlus2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的Android Studio(1.3.2)无法识别我的手机 OnePlus Two

My Android Studio (1.3.2) is not recognising my phone "OnePlus Two"

我安装了Mac(OS x优胜美地) 10.10.5)和最新的Android SDK。

I am having Mac (OS x Yosemite 10.10.5) with latest Android SDK.

更新1:
我的Mac上安装了文件传输软件 Android File Transfer 能够在我将手机连接到Mac后立即识别出手机。

Update 1: The file transfer software installed on my mac "Android File Transfer" is able to recognise the phone as soon as I connect phone to mac.

更新2:
所有通过终端连接的设备,通过执行命令 adb devices

更新3:
我确实尝试杀死adb并重新启动,但是那也没有用。

Update 3: I do tried killing adb and starting again but that too didn't work.

PS:我已启用USB调试开发者选项上

PS: I have enabled USB debugging on the Developer Option

推荐答案

在OnePlus2论坛上获得我的问题的答案。在这里共享它们以帮助其他用户。

Got answer of my question on OnePlus2 Forum. Sharing the same here to help other users.

要解决此问题,我们需要在基于Mac或Linux的系统上运行脚本。

To solve this we need to run a script on Mac or Linux based system.


  1. 在OP2(OnePlus2)上启用调试模式

  2. 连接到基于Mac或Linux的PC

  3. 您将在查找器中看到一个名为 One Plus Drivers的驱动器。

  4. 在那里您将看到一个名为 Op2_adb_config_Linux_OSX的文件。 sh

  5. 将此文件复制到文档文件夹

  6. 打开终端并执行上述文件(sh Op2_adb_config_Linux_OSX.sh)

  7. 它将在您的系统上执行必要的步骤,然后您的OP2将被Android Studio识别。

  1. Enable debugging mode on your OP2 (OnePlus2)
  2. Connect to your Mac or linux based PC
  3. You will see a drive on your finder with the name "One Plus Drivers"
  4. There you will see one file with the name "Op2_adb_config_Linux_OSX.sh"
  5. Copy this file to your documents folder
  6. Open terminal and execute the above file (sh Op2_adb_config_Linux_OSX.sh)
  7. It will perform necessary steps on your system and then your OP2 will be recognised by Android Studio.

这篇关于Android Studio无法在Mac / Linux上识别OnePlus2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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