"adb devices" shows device as "unauthorized". How can I fix this? I just decided to move from Windows to Linux for my Android development, I just finished to setup Android Studio, I was able to import my project into it, but now I want to be able to run my application on my Google Nexus 5.

In my Android Device Monitor, my phone is detected as unauthorized.

I put :

SUBSYSTEM=="usb", ATTR{18d1}=="0bb4", MODE="0666", GROUP="plugdev"


Into :

~/.android/adb_usb.ini
You need to enable USB debugging on your phone. You should get prompted to accept an RSA key, which will mean that your computer is authorised.

Also keep in mind that any coding questions belong on StackOverflow.