hierarchyviewer: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/hierarchyviewer - from package: androidsdk-hierarchyviewer

You may install the required package with command apt-get install {package}
Error in other languages:
hierarchyviewer: bevel nie gevind nie
hierarchyviewer: comandă negăsită
hierarchyviewer: comando não encontrado
hierarchyviewer: commande introuvable
hierarchyviewer: command not found
hierarchyviewer: käsku ei ole
hierarchyviewer: không tìm thấy lệnh
hierarchyviewer: komanda nerasta
hierarchyviewer: Kommando nicht gefunden.
hierarchyviewer: kommandot finns inte
hierarchyviewer: komut yok
hierarchyviewer: nie znaleziono polecenia
hierarchyviewer: níor aimsíodh an t-ordú
hierarchyviewer: no se encontró la orden
hierarchyviewer: no s'ha trobat l'ordre
hierarchyviewer: opdracht niet gevonden
hierarchyviewer: parancs nem található
hierarchyviewer: perintah tidak ditemukan
hierarchyviewer: príkaz nenájdený
hierarchyviewer: příkaz nenalezen
hierarchyviewer: команда не найдена
hierarchyviewer: командата не е открита
hierarchyviewer: 命令找不到
hierarchyviewer: コマンドが見つかりません