Android Studio is not recognising OnePlus2 on Mac/Linux

≡放荡痞女 提交于 2020-01-01 08:57:24

问题


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

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

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.

Update 2: While trying to look for all connected device through terminal, I even don't see my device their by executing command adb devices

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

PS: I have enabled USB debugging on the Developer Option


回答1:


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

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

  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.


来源:https://stackoverflow.com/questions/32617974/android-studio-is-not-recognising-oneplus2-on-mac-linux

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!