Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

java.lang.UnsatisfiedLinkError .android.apps.watchme.Ffmpeg.init #38

Open
TestingRaj opened this issue Oct 14, 2016 · 27 comments
Open

java.lang.UnsatisfiedLinkError .android.apps.watchme.Ffmpeg.init #38

TestingRaj opened this issue Oct 14, 2016 · 27 comments

Comments

@TestingRaj
Copy link

Hi their ,
Upon implementing the api for live streaming I came across the following issue/ error would be of huge help if any of you could suggest me a solution.

java.lang.UnsatisfiedLinkError: No implementation found for boolean com.google.android.apps.watchme.Ffmpeg.init(int, int, int, java.lang.String) (tried Java_com_google_android_apps_watchme_Ffmpeg_init and Java_com_google_android_apps_watchme_Ffmpeg_init__IIILjava_lang_String_2)
at com.google.android.apps.watchme.Ffmpeg.init(Native Method)
at com.google.android.apps.watchme.VideoStreamingConnection.open(VideoStreamingConnection.java:71)
at com.google.android.apps.watchme.StreamerService.startStreaming(StreamerService.java:72)
at com.google.android.apps.watchme.StreamerActivity.startStreaming(StreamerActivity.java:210)
at com.google.android.apps.watchme.StreamerActivity.access$200(StreamerActivity.java:47)
at com.google.android.apps.watchme.StreamerActivity$1.onServiceConnected(StreamerActivity.java:67)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1208)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1225)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5343)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)

137213de-e458-11e5-9cc6-6114b8f4e8fc

and Cannot resolve corresponding JNI function Java_com_google_android_apps_watchme_Ffmpeg_init less.
Reports native method declarations in Java where no corresponding JNI function is found in the project.

d50738a2-e45e-11e5-88cb-f7c7a766da75

@abram456
Copy link

Same issue.... Can some one answer who got the solution

@ntanduc2288
Copy link

ntanduc2288 commented Jan 24, 2017

I'm facing the same issue...I think the root cause is libffmpeg.so which downloaded from internet (yt-watchme project have no libffmpeg.so)

@MuthuEphron
Copy link

I got the same issue . Any solution for this issues

@TestingRaj
Copy link
Author

TestingRaj commented Feb 23, 2017 via email

@MuthuEphron
Copy link

Hi
I am working in windows 10 and android studio 2.1.2.
Is your project working in Windows?

@TestingRaj
Copy link
Author

TestingRaj commented Feb 23, 2017 via email

@MuthuEphron
Copy link

Are you used android studio ?

@TestingRaj
Copy link
Author

TestingRaj commented Feb 23, 2017 via email

@TestingRaj
Copy link
Author

TestingRaj commented Feb 23, 2017 via email

@MuthuEphron
Copy link

Sorry, I didn't get your screenshot.

@MuthuEphron
Copy link

because I got the error in build to gradle.

@TestingRaj
Copy link
Author

TestingRaj commented Feb 23, 2017 via email

@MuthuEphron
Copy link

MuthuEphron commented Feb 23, 2017 via email

@TestingRaj
Copy link
Author

TestingRaj commented Feb 23, 2017 via email

@MuthuEphron
Copy link

Pls send my mail id muthuephron39@gmail.com

@MuthuEphron
Copy link

Thanks for your help. Please check my gradle is there any mistakes in my gradle and Android.mk. Application.mk,config file also.

@MuthuEphron
Copy link

MuthuEphron commented Feb 23, 2017

I need to know how to use my project.

@MuthuEphron
Copy link

MuthuEphron commented Mar 22, 2017

@TestingRaj I setup library load ffmpeg.so file but now the issue was "Java.Lang.unsatisfiedLinkerror Native method not found error in my Project , Please help related issues in ffmpeg.
I need another one how to use FFmpeg -jni,c file in my project?

@vranacse
Copy link

need working demo app with both video and audio working ! contact : vranacse@gmail.com

@MuthuEphron
Copy link

MuthuEphron commented Mar 28, 2017

@TestingRaj Hi i am using your code but its not working on windows. because you declare the android.mk path is invalid

@jeff11142
Copy link

I need help too , my Email is doggy90739@gmail.com
I tried lots of ways but i still cant build it up

@MuthuEphron
Copy link

Hi guys,
Pleas help this issues #53

@MuthuEphron
Copy link

@TestingRaj Audio issues is present on live streaming video. How do solve the issue Please Help.

@MuthuEphron
Copy link

@TestingRaj How to use third party folder in android studio

@prabhanshushekharntspl
Copy link

@TestingRaj
I have downloaded the file from "https://www.dropbox.com/s/yshwhmlhg02zaqf/MainActivity.zip?dl=0" but the file is not working in android studio. Please send me the solution.
Email id : prabhanshu.sekhar@ntspl.co.in

@Adnan-addi
Copy link

Does anyone Got the Solution for this .. in 2019 ???

@garyjamessilva
Copy link

garyjamessilva commented Sep 24, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants