android works again. lein droid doall
This commit is contained in:
@@ -9,8 +9,15 @@ import com.badlogic.gdx.Game;
|
||||
public class MainActivity extends AndroidApplication {
|
||||
public void onCreate (android.os.Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
try {
|
||||
RT.var("clojure.core", "require").invoke(Symbol.intern("clojure.core.async"));
|
||||
RT.var("clojure.core", "require").invoke(Symbol.intern("advent.core"));
|
||||
} catch (Exception e) {
|
||||
System.out.println("Importing failed");
|
||||
e.printStackTrace();
|
||||
}
|
||||
try {
|
||||
|
||||
Game game = (Game) RT.var("advent.core", "advent").deref();
|
||||
initialize(game);
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user