All phones since the last 30 years (including the famous Nokias) shipped with Java and apps that simply worked. Android is constructed on top of Java. What I build today with pure Java will run in 100 years from today without needing changes. Quite a different scenario for whatever other language that breaks stuff every couple of versions.
Using other languages is of course possible. In the same manner as building a wheel with stone is possible instead of using rubber.