Android Studio does not recognize my Xiaomi Redmi Note 3

前端 未结 23 2644
孤城傲影
孤城傲影 2020-12-13 06:09

When I try to \"run\" app via Android Studios, my Xiaomi Redmi Note 3 doesnt pop up in the list. However, it does show up in my PC file explorer.

Things I\'ve done;<

23条回答
  •  暖寄归人
    2020-12-13 06:30

    I bumped into the same issue

    Run below on terminal to find your VENDOR ID;

    lsusb
    

    This will display information about USB buses in the system and the devices connected to them.Then, find your phones vendor id (it will be probably without any company names) and type,

    sudo gedit ~/.android/adb_usb.ini
    

    and your adb_usb.ini file should look like:

    # ANDROID 3RD PARTY USB VENDOR ID LIST -- DO NOT EDIT.
    # USE 'android update adb' TO GENERATE.
    # 1 USB VENDOR ID PER LINE.
    # ie 0x2207
    0x
    

    Disconnected and reconnected device and also needed to run below commands on terminal;

    sudo adb kill-server && adb start-server
    

    And the device was detected.

提交回复
热议问题