Not really. Android's VM has Java semantics and should be able to run any Java bytecode, including JRuby, Jython, Rhino, etc.
The contest requirement to use Java may just be an oversight on Google's part. JVM-based dynamic languages may not execute very fast on a phone, though.