UnsatisfiedLinkError on Released Game

UnsatisfiedLinkError on Released Game
0

#21

Here is a bug with SDKBox-core, different architectures in different schema folders:

armeabi in armeabi-v7a
armeabi-v7a in armeabi

.

if you do not want to update whole plugin, you can download http://download.sdkbox.com/installer/v1/sdkbox-adcolony_v2.4.2.0.tar.gz, then replace the project android/jni/sdkbox folder with `sdkbox-adcolony_v2.4.2.0/plugin/android/jni/sdkbox/ .

Thanks,

2018.11.30 UPDATE:
or switch the armeabi and armeabi-v7a folder.


#22

Hi yinjimmy,

I have upgraded SDKBox to the latest versions (v2.4.2.0). Unfortunatelly the problem is still remains

java.lang.UnsatisfiedLinkError
com.sdkbox.plugin.SDKBox.nativeInit

I hope the issue will be found soon. Thanks


SDKBOX Facebook. SIGABRT after logPurchase on Android
#23

How did you confirm that this crash is in version 2.4.2.0 ?
Did the players update your game ?


#24

yep, i have this bug too with 2.4.2.0, but i forgot to init crashlytics before SDKBOX =) Crashlytics logs will be with next release, but i’m not sure they will help


#25

Yes, players keep updating. GooglePlay console can filter real-time crashes by release version. And latest game release that built with latest SDKBox still has that bug


#26

Do you add isTaskRoot checking like the sample here https://github.com/cocos2d/cocos2d-x/blob/v3/templates/cpp-template-default/proj.android/app/src/org/cocos2dx/cpp/AppActivity.java


#27

yes, we have this
21


#28

SDKBox.init is in super.onCreate(savedInstanceState);


#29

and we should put super.onCreate(savedInstanceState); after that checking?


#30

could you plz try it?


#31

ok, we will try


#32

Thank you very much. I have a fixed PluginIAP.jar.zip (19.6 KB)
jar for SDKBOX Facebook. SIGABRT after logPurchase on Android .


#33

we tried, it’s leads to Fatal Exception: android.util.SuperNotCalledException


#34

by the way now we have this bug caughted by crashlytics. What we should to do next?


SDKBox 2.4.3.0 bugfix
#35

Plz check Cocos2dxActivity.java, is there some SDKBox code ?

Feel free to contact me. My Skype id: live:jimmy.yin5 .

BTW: whats link of your game on Google Play ?


#36

i add a fix for sdkbox native init crash.

you can have a try, if you have time.

sdkbox.jar.zip (98.5 KB)


#37

@OrangeDog @angelvet @formatCvt

plz update your sdkbox.jar

This bugfix will be release with version 2.4.2.1 (2018.12.14).

Blaming words can’t help improve software quality

Thanks @enrevol .

:slight_smile:


No implementation found for void com.sdkbox.plugin.SDKBox.nativeInit
#38

You may need to handle onDestroy (and maybe onPause, onStop…) as well to make sure that SDKBox.onDestroy() must not be called in wrong activity.


#39

yes, SDKBox handle

  • onCreate
  • onActivityResult
  • onStart
  • onStop
  • onResume
  • onPause
  • onBackPressed

#40

@yinjimmy, I have updated sdkbox.jar. SDKBox crash rate is drastically reduced. I have seen only several java.lang.UnsatisfiedLinkError crashes from only one user in last 24 hours.

His device is A3-A40 (acer_jetfirefhd), Android 6.0

Thanks