android studio doesn't detect my device on my ubuntu laptop

前端 未结 9 1697
伪装坚强ぢ
伪装坚强ぢ 2021-01-02 00:31

I am trying to run an app from Android Studio on my Ubuntu laptop.

I have enabled USB debugging, but it is still not working.

When I press run

9条回答
  •  失恋的感觉
    2021-01-02 01:34

    My device appeared as unrecognized and when I ran adb devices fom android-tools directory it said: adb not a command. Strange. So what I did is installed adb tools additionally and then run adb devices:

    sudo apt-get install android-tools-adb

    89LY0810Y unauthorized

    Then I saw the dialog on my device and selected: Always authorize.

    Please make sure your device is in debug mode.

提交回复
热议问题