<HTML><BODY>
<div>Hello</div><div><br></div><div>I have a problem using the androidmedia plugin. Here is my setup:</div><div><br></div>I have a Native Activity android project. <div>The project does not have any java and is C/C++ only. </div><div>The project was setup following this blog post: https://medium.com/androiddevelopers/getting-started-with-c-and-android-native-activities-2213b402ffff</div><div>(Note: the code in the blog post references struct android_app, which can be viewed at the <ndk_directory>/sources/android/native_app_glue/)</div><div><br><div>I build gstreamer_android.so as a separate project. </div><div>The separate project's setup is similar to the android examples in gstreamer's repository. </div><div>The only difference is that my makefile builds only the gstreamer_android target, instead of building the entire C/C++ code base. </div><div>Once the .so is built, it is linked in the cmake of my Native Activity project.<br><div><br></div></div></div><div>Upon calling gst_init, (the gstreamer_android was built with the androidmedia plugin), I get the following error:</div><div>../sys/androidmedia/gstjniutils.c,load_java_module: Failed to load Java module 'libdvm': dlopen failed: library "libdvm.so" not found</div><div>I don't get any other androidmedia related errors.</div><div><br></div><div>I've also copied gstreamer and androidmedia java code (GStreamer.java, GstAhs(c)Callback.java, GstAmcOnFrameAvailableListener.java) to my project.</div><div>However, since there is no java code, I am not sure that these will end up being part of the project at all.</div><div><br></div><div>Any help or clarification on what is going wrong would be greatly appreciated.</div><div><br></div><div>Thanks,</div><div>George</div><div><br></div></BODY></HTML>