UnsatisfiedLinkError In Android 4.4 libDevil cannot locate symbol “png_set_longjmp_fn”

后端 未结 1 732
忘掉有多难
忘掉有多难 2021-02-09 05:52

I have an image converter app on google play that runs fine and well, it incorporates NDK for support of more file formats using the DevIL Image Processing library.

It w

相关标签:
1条回答
  • 2021-02-09 06:38

    Well from all my googling, I think Android 4.4 tries to link anything called libpng to its own libpng 1.2.46, My libpng 1.5.6 had the png_set_longjmp_fn symbols and the one 4.4 uses doesn't

    So i went to my android.mk file and renamed libpng to libpngo as well as the system.load thingy in my mainactivity.

    Works OK now.

    0 讨论(0)
提交回复
热议问题