> Osg in Android is not emulator-friendly... and the EGL libraries seem from > emulator instead of a proper device. >
Ok, I tried with a Samsung Galaxy S3 Mini (which has the same gpu of Samsung Galaxy S3) but the app is still crashing. :( This is the log: Code: 07-08 18:12:30.278: D/libEGL(11086): loaded /system/lib/egl/libEGL_mali.so 07-08 18:12:30.288: D/libEGL(11086): loaded /system/lib/egl/libGLESv1_CM_mali.so 07-08 18:12:30.288: D/libEGL(11086): loaded /system/lib/egl/libGLESv2_mali.so 07-08 18:12:30.298: W/EGLview(11086): creating OpenGL ES 2.0 context 07-08 18:12:30.308: W/dalvikvm(11086): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Losg/AndroidExample/osgNativeLib; 07-08 18:12:30.308: W/dalvikvm(11086): threadid=11: thread exiting with uncaught exception (group=0x41c722a0) 07-08 18:12:30.308: E/AndroidRuntime(11086): FATAL EXCEPTION: GLThread 908 07-08 18:12:30.308: E/AndroidRuntime(11086): java.lang.ExceptionInInitializerError 07-08 18:12:30.308: E/AndroidRuntime(11086): at osg.AndroidExample.EGLview$Renderer.onSurfaceChanged(EGLview.java:319) 07-08 18:12:30.308: E/AndroidRuntime(11086): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1511) 07-08 18:12:30.308: E/AndroidRuntime(11086): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240) 07-08 18:12:30.308: E/AndroidRuntime(11086): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load osgNativeLib: findLibrary returned null 07-08 18:12:30.308: E/AndroidRuntime(11086): at java.lang.Runtime.loadLibrary(Runtime.java:365) 07-08 18:12:30.308: E/AndroidRuntime(11086): at java.lang.System.loadLibrary(System.java:535) 07-08 18:12:30.308: E/AndroidRuntime(11086): at osg.AndroidExample.osgNativeLib.<clinit>(osgNativeLib.java:6) 07-08 18:12:30.308: E/AndroidRuntime(11086): ... 3 more 07-08 18:12:37.495: I/Choreographer(11086): Skipped 426 frames! The application may be doing too much work on its main thread. 07-08 18:12:37.515: W/SurfaceView(11086): CHECK surface infomation creating=false formatChanged=false sizeChanged=false visible=false visibleChanged=true surfaceChanged=true realSizeChanged=false redrawNeeded=false left=false top=false [/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55166#55166 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

