This series of articles was written for the purpose of learning to exchange records, mainly to record how to learn the SDL development process from scratch, and encountered a lot of problems in this process, almost gave up. The first is the SDL Android transplant encountered when the comparison pit is the SDL ported to Android JNI file writing comparison pit, just began to think how to compile the SDL into a dynamic shared library, the other place directly invoke the dynamic shared library, the results found dead and alive collapse in Sdl_init () This function, finally found that the SDL JNI file directly uses the Sdlactivity function, and the JNI uses the static registration method. Directly in the other place to invoke the dynamic library on the kneeling, Bo Master ability is limited, and do not have the ability to re-write the JNI layer. The Android-project project in SDL is then used to do the study directly.