Your app could crash on 16 KB devices

Your app could crash on 16 KB devices

Your app is compiled for 16 KB devices, but some of its libraries were compiled using an older Android NDK version that can still cause crashes. The following libraries in your app may be affected:

  • base/lib/arm64-v8a/libplugin.openssl.so

To fix this issue, choose one of the following:

  • Upgrade to NDK r28 or higher to resolve this automatically.
  • Recompile your libraries and manually enable linker flags if you can’t upgrade. If your code relies on the PAGE_SIZE macro, you must replace all instances.

This is Google literally saying our apps could crash because of a buggy plugin - this covers well over 95% of active Android devices.

No one from Solar going to acknowledge this problem or fix it?

The actual error is

I think this is future proof. But I didn’t see any public 16KB env devices.

Even for my Pixel phone, it still have to wipe userdata and reset to enable 16KB options, and then it will bring a 16KB compatible mode to every installed Apps, which currently can run non-16KB compatible App on the 16KB page size env so far.

@solar_dev gotcha, Solar2D have patched the plugin but,

@Scott_Harrison Hi, the so file for arm64-v8a may missing in the 16kb patch.

com.coronalabs-plugin.openssl/plugins/2016.2883/android/jniLibs/arm64-v8a/libplugin.openssl.so at master · coronalabs/com.coronalabs-plugin.openssl · GitHub last update was 6 years ago.

Will take a look

Just pushed fixed for this, Recompile lib to NDK r28

Your app could crash on 16 KB devices

That’s my secret, Google Play; My app could crash on any device :smiling_face_with_sunglasses:

1 Like