android-eye icon indicating copy to clipboard operation
android-eye copied to clipboard

Getting it to run, missing LibMediaEncoder.so

Open burf2000 opened this issue 10 years ago • 8 comments

I have tried opening this in Eclipse and Android Studio, I have installed the NDK for both but I get this error

02-18 20:30:36.288: E/AndroidRuntime(1918): FATAL EXCEPTION: main 02-18 20:30:36.288: E/AndroidRuntime(1918): Process: teaonly.droideye, PID: 1918 02-18 20:30:36.288: E/AndroidRuntime(1918): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/teaonly.droideye-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]] couldn't find "libMediaEncoder.so" 02-18 20:30:36.288: E/AndroidRuntime(1918): at java.lang.Runtime.loadLibrary(Runtime.java:366) 02-18 20:30:36.288: E/AndroidRuntime(1918): at java.lang.System.loadLibrary(System.java:989) 02-18 20:30:36.288: E/AndroidRuntime(1918): at teaonly.droideye.MainActivity.(MainActivity.java:535) 02-18 20:30:36.288: E/AndroidRuntime(1918): at java.lang.reflect.Constructor.newInstance(Native Method) 02-18 20:30:36.288: E/AndroidRuntime(1918): at java.lang.Class.newInstance(Class.java:1572) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.app.Instrumentation.newActivity(Instrumentation.java:1065) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2199) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.app.ActivityThread.access$800(ActivityThread.java:144) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.os.Handler.dispatchMessage(Handler.java:102) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.os.Looper.loop(Looper.java:135) 02-18 20:30:36.288: E/AndroidRuntime(1918): at android.app.ActivityThread.main(ActivityThread.java:5221) 02-18 20:30:36.288: E/AndroidRuntime(1918): at java.lang.reflect.Method.invoke(Native Method) 02-18 20:30:36.288: E/AndroidRuntime(1918): at java.lang.reflect.Method.invoke(Method.java:372) 02-18 20:30:36.288: E/AndroidRuntime(1918): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899) 02-18 20:30:36.288: E/AndroidRuntime(1918): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)

burf2000 avatar Feb 18 '15 20:02 burf2000

Hi Burf., Have you got these working? If yes please let me know how. Thanks.

devm2024 avatar Aug 12 '15 09:08 devm2024

where i can get libMediaencoder.so?

AdamFM avatar Nov 11 '15 08:11 AdamFM

The same issue ((

andruwik777 avatar Dec 05 '15 15:12 andruwik777

same issue , even download a libMediaEncoder.so from https://github.com/drewx2/android_vendor_htc_dlx/tree/master/proprietary/lib

shaunsphere avatar Jun 02 '16 18:06 shaunsphere

same issue

MostafaS avatar May 22 '17 12:05 MostafaS

How to solve this problem? dlopen("/data/app-lib/teaonly.droideye-2/libMediaEncoder.so") failed: dlopen failed: cannot locate symbol "_ZN7android8OMXCodec18findMatchingCodecsEPKcbS2_jPNS_6VectorINS_7String8EEEPNS3_IjEE" referenced by "libMediaEncoder.so"...

mbpz avatar Jul 21 '17 11:07 mbpz

On the github is two different versions of libMediaEncoder.so. The first is for armeabi, the second - for armeabi-v7a. When you use the first vesrsion, Application.mk must declare APP_ABI:= armeabi. When you use the second version, Application.mk must declare APP_ABI:= armeabi-v7a. The first version is of 960 kB length. The second version is of 962 kB length. When confusing versions the compiler gives an error.

medynets avatar Jan 20 '19 17:01 medynets

@medynets can you share links to libMediaEncoder.so?

junaid-umar avatar May 23 '20 18:05 junaid-umar