caused by:java.lang.UnsatisfiedLinkError:Couldn ' t load Baidumapvos_v2_1_3:findlibrary returned NULL
In the use of Baidu Map encountered this problem online search under a variety of methods are not good I want to die of heart have. Have you ever come across the experience of asking for a share of the problem?
Later saw the Baidu Map SDK after the demo, because there is a file liblocsdk.so, must be placed in the Libs/armeabi directory. The corresponding liblocsdk.so to the corresponding directory, the problem solved perfectly. The problem is the perfect solution, but this liblocsdk.so file is what kind of dongdong. After checking the information later:
The so file is a dynamic link that loads the library by the operating system loader when the executable file is loaded or run. Most operating systems resolve external references (such as libraries) as part of the load process. On these systems, the executable file contains a table called Import directory, each of which contains the name of a library. Depending on the name of the record in the table, the loader searches for the required library on the hard disk, loads it into a predetermined location in memory, and then updates the executable program based on the address of the library that is determined after the library is loaded. An executable program invokes a function in the library or references the data in the library based on the updated library information. This type of dynamic loading becomes loaded at load time, and is used by most systems including Windows and Linux. One of the most complex tasks that the loader has to do when loading the application is the load-time link. is the equivalent of a Windows DLL file. You do not have a program DLL file, you must not run the program.
Through this experience, I have a profound understanding of the corresponding so document.
See more highlights of this column: http://www.bianceng.cn/Programming/extra/