System.loadLibrary() error

前端 未结 5 1221
你的背包
你的背包 2021-01-12 14:10

I successfully cross-compiled a c++ library with the android ndk-Standalone toolchain then, i created a new android application project into Eclipse and when i put mylib.so

5条回答
  •  生来不讨喜
    2021-01-12 14:45

    People mostly forgot cut "lib" prefix form library name. So if you have "libusb.so" your code must be System.loadLibrary("usb")...

提交回复
热议问题