My Samsung phone was not recognized by Android Studio on windows 7. I repaired it by installing the Samung Driver here: http://developer.samsung.com/technical-doc/view.do?v=T00
Here are few steps if your android phone create problem next time