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

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

    I tried restarting adb using root priviledges and it worked for me. Use these commands in the terminal:

    sudo adb kill-server
    sudo adb start-server
    

    Hope it works for you too...

提交回复
热议问题