With the recent preview release of Android Studio it’s important to know that it won’t work properly on Ubuntu with the OpenJDK that’s available.
Fortunately, it’s easy to get it going.
- Download the official Oracle JDK
- Unpack it (I put mine in ~/SDK/jdk1.7.0_21/ )
- Point your JAVA_HOME to this.
~/android-studio/bin$ export JAVA_HOME=~/SDK/jdk1.7.0_21/ - Run the android studio startup script.
~/android-studio/bin$ ./studio.sh - Make awesome android apps.
Have Fun!






