Java is the official language for programming Android apps, so it’s safe to say that it’s one of the best languages for Android apps. While Java code typically runs on the Java Virtual Machine, on Android, the lines of code are compiled by something called the Dalvik Virtual Machine.