Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find hprof-conv when launching Android Device Monitor

I am using the Android Studio IDE and the SDK that comes with it. When trying to open the Android Device Monitor I continue to recieve a dialog box asking me to point to the Android SDK. When I do it suggests that it can't find the file tools/hprof-conv.

This worked a couple days ago and just started...even with fresh installs of android studio. Here is a screen shot: Device Monitor Dialog

like image 948
Agile Jedi Avatar asked Jun 27 '14 18:06

Agile Jedi


2 Answers

In the last versions of the SDK the hprof-conv.exe file is located at /platform-tools folder, not /tools. To fix this problem you should copy the hprof-conv.exe from the /platform-tools to /tools.

or for Linux you can navigate to the tools folder & use this command to make a link

ln -s ../platform-tools/hprof-conv hprof-conv 
like image 110
atrujillofalcon Avatar answered Sep 22 '22 14:09

atrujillofalcon


FYI this should already be fixed with latest.

If you're seeing this error, re-run your Android SDK manager and make sure Android SDK Tools is updated to Rev. 23.0.1 or later.

like image 43
d9n Avatar answered Sep 23 '22 14:09

d9n