sergey-miryanov / linden-flurry

Android extension for OpenFL for Flurry
MIT License
11 stars 2 forks source link

JNI exception with latest linden-flurry #3

Closed ashes999 closed 9 years ago

ashes999 commented 9 years ago

Hi,

I upgraded to the latest version of your repository. I get a Java error on app run:

java.lang.NoSuchMethodError: no static method with name='setUseHttps' signature='(Z)V' in class Lcom/flurry/android/FlurryAgent;
  at org.haxe.lime.Lime.onResize(native Method)

My app closes immediately.

sergey-miryanov commented 9 years ago

getUseHttps and setUseHttps was removed in 5.0.0 version. I will remove it from Flurry asap.

ashes999 commented 9 years ago

It looks like these methods are for iOS only; see this issue

ashes999 commented 9 years ago

It seems like there are other signature changes.

You can find a decompiled pastebin of the FlurryAgent v5 here.

I'll try to maintain the list here.

Everything else matches your JNI signatures.

sergey-miryanov commented 9 years ago

Please check latest commits.

ashes999 commented 9 years ago

I didn't notice those changes (new return value). Nice catch. I'll re-test and let you know.

ashes999 commented 9 years ago

This is fixed. Thanks again.

sergey-miryanov commented 9 years ago

Thank you for testing.