Android Studio is not recognising OnePlus2 on Mac/Linux

前端 未结 1 740
长发绾君心
长发绾君心 2021-02-20 11:17

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.

U

1条回答
  •  忘了有多久
    2021-02-20 12:06

    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.

    0 讨论(0)
提交回复
热议问题