The java file containing the sketch code includes a main() method, inherited from the Java mode. It is not needed on Android.