Closed neilyoung closed 1 year ago
I think you need to use compile-time instrumentation in order to get it to work on Android as Davlik lacks the agent instrumentation capabilities of the full JVM?
Whatever this means..
Anyway, don't bother with this. I put it aside.
It means that Async.init()
can't work because Android doesn't use a proper Java runtime. There are maven and gradle build plugins provided which can perform the transformations at compile-time so that it doesn't depend on a specific runtime, and should be able to run on Android.
Well, I'm using the gradle plugin, but maybe wrong.
implementation 'com.ea.async:ea-async:1.2.3'
then
static { Async.init(); }
There was no other condition mentioned
...does not work.
Crashes immediately in Async.init()