Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libjniaudio is not loaded #48

Open
jollysandhu71 opened this issue Oct 10, 2011 · 1 comment
Open

libjniaudio is not loaded #48

jollysandhu71 opened this issue Oct 10, 2011 · 1 comment

Comments

@jollysandhu71
Copy link

I have got a error while debug the code using Ubuntu OS on emulator . Please rectify the give below error . I will appreciate to you

DEBUG/FFMpeg(14322): Couldn't load lib: jniaudio - Cannot load library: reloc_library[1312]: 2578 cannot locate '_ZN7android10AudioTrack3setEijiiijPFviPvS1_ES1_iRKNS_2spINS_7IMemoryEEEb'...
DEBUG/FFMpeg(14322): Couldn't load lib: ffmpeg_jni - Cannot load library: link_image[1963]: 2578 could not load needed library 'libjniaudio.so' for 'libffmpeg_jni.so' (find_library[1220]: 2578 'libjniaudio.so' failed to load previously)

@alexcohn
Copy link

I guess your problem duplicates #42

The root is that jniaudio must be built against the actual system libraries of your system. You can find the system libraries in your emulator image, and "adb pull" them to link with them just the same way as people do with hw devices.

And you need the header files from the AOSP tree appropriate for your platform, as described in #4 (comment)

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

No branches or pull requests

2 participants