Fix ADB Android Device Unauthorized

Got some problem with HTC device won’t installing apk once I build my application using android studio. I don’t know what exactly going on, but the log only showed “device unauthorized”.
Here is how I solved this following this linkĀ http://stackoverflow.com/a/25546300/1936697