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=T000000117
I tested with my Galaxy S2 and the Samsung S7560 and it works now
Here are few steps if your android phone create problem next time