findLibrary有时会返回null

时间:2013-08-28 04:54:05

标签: c++ c android-ndk java-native-interface

Caused by: java.lang.UnsatisfiedLinkError: Couldn't load xxxx(this is the name of the library, i just made it xxx): findLibrary returned null
at java.lang.Runtime.loadLibrary(Runtime.java:429)
at java.lang.System.loadLibrary(System.java:554)

此次崩溃发生有时并非总是如此。它通常发生在 Android 2.3 设备上。令人困惑的是,为什么它并不总是发生,而且只是偶尔发生。我找不到任何有关此崩溃的线索。 是否与Android 2.3不支持的某些API相关?

非常感谢!

0 个答案:

没有答案