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

前端 未结 9 1695
伪装坚强ぢ
伪装坚强ぢ 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:21

    I solved with this: https://stackoverflow.com/a/37109216/5081063

    If the problem is only on Android Studio and not in your OS you can solve with that.

    So first check if adb recognize any devices with:

    $ adb devices
    

    If yes, open Android Studio and follow these steps:

    1. Go to Run > Edit Configurations...
    2. Under Deployment Target Options select Show Device Chooser Dialog from the drop-down-list

提交回复
热议问题