I know this question is asked multiple time and there are some alternative answer also.So please don\'t close with some other link because i have added that link below.
Along with the above all suggested answer try this one also, it worked for me
copy the hprof-conv.exe from C:\adt\sdk\tools to C:\adt\sdk\platform-tools and copy the adb.exe from C:\adt\sdk\tools to C:\adt\sdk\platform-tools