When running Android installer under Linux, getting:
aadk_installer.run: 2: aadk_installer.run: Syntax error: end of file unexpected (expecting ")") 
The Android installer is maybe a 32bit LSB ELF executable. You can check this with:
file aadk_installer.run  showing you something about 32bit.
If you are running a 64bit Ubuntu you have to install the 32bit libraries:
sudo apt-get install ia32-libs-multiarch 
now you should be able run the installer.
Last updated: 
Oct 21, 2024