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

Device Version 29 X86_64 crash

Open fuvaye opened this issue 5 years ago • 6 comments

Application crash when open the Filters java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.app-krcBB6dv6DXtv_m-B9hPHg==### /lib/x86/libffmpeg.so"

2020-03-21 17:12:57.194 21484-21899/com.app E/AndroidRuntime: FATAL EXCEPTION: GLThread 998 Process: com.app.photo.editor, PID: 21484 java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.app.photo.editor-krcBB6dv6DXtv_m-B9hPHg==/lib/x86/libffmpeg.so" has text relocations (https://android.googlesource.com/platform/bionic/+/master/android-changes-for-ndk-developers.md#Text-Relocations-Enforced-for-API-level-23) at java.lang.Runtime.loadLibrary0(Runtime.java:1071) at java.lang.Runtime.loadLibrary0(Runtime.java:1007) at java.lang.System.loadLibrary(System.java:1667) at org.wysaid.nativePort.NativeLibraryLoader.load(NativeLibraryLoader.java:10) 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:1541) at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1272)

i already add x86 folder on the lib folder but still app crashing

#95 Not Working

@wysaid

fuvaye avatar Mar 21 '20 11:03 fuvaye

Can you try remove all folders in libs except the armeabi-v7a? I don't have such device, so I can't see the problem now.

wysaid avatar Mar 21 '20 16:03 wysaid

yes i already try this but still not working this crash only for android version 10 X86_64 version emulator @wysaid

fuvaye avatar Mar 30 '20 07:03 fuvaye

Get it. I will try the emulator.

wysaid avatar Mar 30 '20 17:03 wysaid

and other thing is now .so File was deprecated so now what ?

Please check both links https://developer.android.com/distribute/best-practices/develop/restrictions-non-sdk-interfaces

https://android-developers.googleblog.com/2016/06/improving-stability-with-private-cc.html

@wysaid

fuvaye avatar Mar 31 '20 05:03 fuvaye

yes i already try this but still not working this crash only for android version 10 X86_64 version emulator @wysaid

There must be another way to add native libraries.

wysaid avatar Apr 03 '20 16:04 wysaid

yeah beacuse now play console give the warning .. and its deprecated so @wysaid

fuvaye avatar Apr 10 '20 07:04 fuvaye