Install the Open JDK8 on Ubuntu. Go to terminal,
type: sudo apt-get install openjdk-8-jdk.
Install the lib32stdc (you only need lib32tdc++6 for Ubuntu 15.10, without it, you will see android studio show an error unable to run mksdcard-sdk…) To install, in terminal type: sudo apt-get install lib32stdc++6