UnsatisfiedLinkError (Native method not found)

前端 未结 1 1581
猫巷女王i
猫巷女王i 2020-12-09 04:47

There is a block of code which is working fine on android 4.1.2 but not on 4.0.3, the crash log is of 4.0.3

I am getting UnsatisfiedLinkError Exception

相关标签:
1条回答
  • 2020-12-09 05:04

    This means that the runtime tried to find a matching method but was unsuccessful. Some common reasons for this are:

    • The library isn't getting loaded. Check the logcat output for messages about library loading.
    • The method isn't being found due to a name or signature mismatch.

    This is an error that happens quite often. You can find more details about it on:

    • Why do I get UnsatisfiedLinkError

    Whenever doing native code for cross-platform, any detail missing from your toolchain will make your application to crash.

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