We recently released a game using c++ Cocos2d-X on Android. I am getting a crash from a very small number of users while loading the native libraries.
It crashes in “Cocos2dxActivity.java” at
This is the error that it gives:
Fatal Exception: java.lang.UnsatisfiedLinkError
dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/(REDACTED MY BUNDLE ID)-1/base.apk”],nativeLibraryDirectories=[/data/app/(REDACTED MY BUNDLE ID)-1/lib/arm, /data/app/(REDACTED MY BUNDLE ID)-1/base.apk!/lib/armeabi, /vendor/lib, /system/lib]]] couldn’t find “libMyGame.so”
I can’t understand why this would only happen on some users devices. It also seems to happen on a variety of different devices and versions of Android. Any help would be greatly appreciated!