In release mode, my app crashes at startup with this:
java.lang.AssertionError: Assert failed: (activity? activity)
E AndroidRuntime(11090) at neko.activity$set_content_view_BANG_.invoke(activity.clj:44)
But in debug mode, it works just fine and has worked for some time now.
This is in the :on-create of the defactivity.
I tried calling (on-ui (set-content-view! foo.bar.BazActivity (make-ui layout)) instead of (on-ui (set-content-view! a (make-ui layout)) too, but it didn't help, same error.
Why would this be dying only in release mode? Some kind of race condition? Something important that's being proguarded out?
This is with [neko/neko "3.0.0"] and [lein-droid "0.2.0"]
In release mode, my app crashes at startup with this:
But in debug mode, it works just fine and has worked for some time now.
This is in the :on-create of the defactivity.
I tried calling (on-ui (set-content-view! foo.bar.BazActivity (make-ui layout)) instead of (on-ui (set-content-view! a (make-ui layout)) too, but it didn't help, same error.
Why would this be dying only in release mode? Some kind of race condition? Something important that's being proguarded out?
This is with [neko/neko "3.0.0"] and [lein-droid "0.2.0"]