Android Studio 2 is definitely a brilliant, modern and interesting technology! ^__^
Unfortunately, I faced a few setup issues mainly related to dynamic libraries on my 64-bit Ubuntu 16 system - so, I’m going to describe my experience in a step-by-step tutorial.
Install the required 32-bit libraries
A few libraries are needed by the SDK, as explained on the SDK website; to install them, run this terminal command:
sudo apt-get install lib32z1 lib32ncurses5 lib32stdc++6
It seems that the Android SDK employs
glxinfo; if it is not available, you might notice errors when starting the emulator.
glxinfo and other tools, run:
sudo apt-get install mesa-utils
Reference system libraries
The Android emulator crashed on startup - more precisely, the issue was due to hardware rendering; however, in lieu of switching to software rendering (which is slower and might not completely address the problem), these steps are suggested:
Add the following line:
To quickly and globally apply the changes, you could log out of the desktop environment and re-log
Install Android Studio
Point your web browser to Android Studio’s website
Download the zip bundle for Linux
Extract it to a target directory of your choice
binsubdirectory to your
Now, to start the setup process, you should run:
and follow the user-friendly wizard.
Finally, once the IDE is up and running, you may want to select the menu item
Tools -> Create Desktop Entry... to integrate Android Studio into your desktop environment.
And now, you can enjoy creating Android apps! ^__^