System.loadLibrary() error

前端 未结 5 1224
你的背包
你的背包 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:29

    Please specify your .so file like as follow.

     static {
    
         System.loadLibrary("mylib");
    
    }
    

    Hope this will help you.

提交回复
热议问题