0 Members and 9 Guests are viewing this topic.
04-13 19:48:45.121 4368-4368/com.familyxoft.croger E/AndroidRuntime﹕ FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start activity ComponentInfo{com.familyxoft.croger/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to find native library: sfml-activity
04-15 11:00:41.925: D/jdwp(8769): sendBufferedRequest : len=0x4504-15 11:00:41.928: W/asset(8769): AssetManager-->addDefaultAssets CIP path not exsit!04-15 11:00:42.487: D/libEGL(8769): loaded /system/lib/egl/libEGL_mali.so04-15 11:00:42.496: D/libEGL(8769): loaded /system/lib/egl/libGLESv1_CM_mali.so04-15 11:00:42.499: D/libEGL(8769): loaded /system/lib/egl/libGLESv2_mali.so04-15 11:00:42.543: V/PhoneWindow(8769): DecorView setVisiblity: visibility = 404-15 11:00:42.581: V/PhoneWindow(8769): DecorView setVisiblity: visibility = 004-15 11:00:43.049: A/libc(8769): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 8813 (milyxoft.croger)
In deubg build SFMLES eglCheckError is undefined reference.
Getting familiar with the compilation process of native Android application isn’t an easy task so, don’t give up and read carefully the NDK documentation. Maybe you should start with compiling an official example such as NativeActivty located in your NDK. You’ll need to get through this because you won’t be able to reuse this CMake toolchain script to compile your own application (unless your application is a library ).
You shouldn't have to do any modifications on your own, just grab the ios_and_android branch off SFML's main repostiory on GitHub. You might just have to skip SFML audio for now.