#```var javaUnityPlayer new

1 messages · Page 1 of 1 (latest)

lucid otter
#

Yep, exactly

#

The error I get is that I don't have a static method named "currentActivity"

sly smelt
#

are you using proguard? Disable it temporarily and try again. Otherwise, maybe show some more code

lucid otter
#

hmm, I don't know what proguard is. Let me see if it helps

#

Thanks for your help! 🙂 Really appreciate it

lucid otter
#

I figured it out finally...

The problem was that I was not wrapping all of the Android related code under #if UNITY_ANDROID