Use LAMW to install.
https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/master.zip
Unzip and run command:
./lamw_manager
I get on Debian an error:
==== AUTHENTICATING FOR org.freedesktop.policykit.exec === Authentication is needed to run `/usr/bin/env' as the super user Authenticating as: root Password: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie ==== AUTHENTICATION FAILED === Error executing command as another user: Not authorized This incident has been reported.
Then install:
aptitude install policykit-1-gnome
On second terminal start:
/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Restart:
./lamw_manager
The Android SDK is 32 bit. On Debian you should install:
dpkg --add-architecture i386 apt-get update apt-get install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386