android-gpuimage-plus icon indicating copy to clipboard operation
android-gpuimage-plus copied to clipboard

NativeLibraryLoader.load (java.lang.UnsatisfiedLinkError)

Open epegasus opened this issue 2 years ago • 8 comments

I'm facing this crash, reported on firebase-crashlytics.

Device Details

android 7, 8, 11 transsion, oppo

Trace

Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libCGE.so" not found at java.lang.Runtime.loadLibrary0(Runtime.java:1087) at java.lang.Runtime.loadLibrary0(Runtime.java:1008) at java.lang.System.loadLibrary(System.java:1664) at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:15) at org.wysaid.nativePort.CGEImageHandler.(CGEImageHandler.java:16) at org.wysaid.view.ImageGLSurfaceView.onSurfaceCreated(ImageGLSurfaceView.java:308) at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1549) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1280)

epegasus avatar Nov 16 '23 05:11 epegasus

I'm not facing this problem. Have you checked your lib?
Provide more details about your devices?

wysaid avatar Nov 21 '23 08:11 wysaid

Process: com.app, PID: 4895
                                                                                                    java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~-T-M59gvJEjRDcL1kchX0Q==/com.app-534UeA9JG8li7Q7f0EZUaA==/base.apk!/lib/arm64-v8a/libCGE.so" (new hash type from the future?)
at java.lang.Runtime.loadLibrary0(Runtime.java:1081)
                                                                                                    	at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
                                                                                                    	at java.lang.System.loadLibrary(System.java:1765)
                                                                                                    	at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:15)
                                                                                                    	at org.wysaid.nativePort.CGENativeLibrary.<clinit>(CGENativeLibrary.java:18)
                                                                                                    	at com.app.activities.ImageEditActivity.onCreate(ImageEditActivity.java:197
```)      

**Device**
Pixel 8 API 35 (Android Studio Emulator)                                                                                                      
                                                                                            
                                                                                                                                                                                               
                                                                                                    
                                                                                                    

ferhatozcelik avatar Aug 15 '24 15:08 ferhatozcelik

Process: com.app, PID: 4895
                                                                                                    java.lang.UnsatisfiedLinkError: dlopen failed: empty/missing DT_HASH/DT_GNU_HASH in "/data/app/~~-T-M59gvJEjRDcL1kchX0Q==/com.app-534UeA9JG8li7Q7f0EZUaA==/base.apk!/lib/arm64-v8a/libCGE.so" (new hash type from the future?)
at java.lang.Runtime.loadLibrary0(Runtime.java:1081)
                                                                                                    	at java.lang.Runtime.loadLibrary0(Runtime.java:1003)
                                                                                                    	at java.lang.System.loadLibrary(System.java:1765)
                                                                                                    	at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:15)
                                                                                                    	at org.wysaid.nativePort.CGENativeLibrary.<clinit>(CGENativeLibrary.java:18)
                                                                                                    	at com.app.activities.ImageEditActivity.onCreate(ImageEditActivity.java:197
```)      

**Device**
Pixel 8 API 35 (Android Studio Emulator)                                                                                                      
                                                                                            
                                                                                                                                                                                               
                                                                                                    
                                                                                                    

You're using emulator, please check if you are using the right arch of libs.

wysaid avatar Aug 16 '24 03:08 wysaid