Building gstreamer for android

Nathan Sinclair nathan.sinclair at
Wed Nov 30 04:05:52 UTC 2022


Trying to build the android tutorial 1 using android studio.

I have followed this article.

I'm getting an error reporting that none of the projects can find

Please help, I don't know what I'm doing at this point, but wanting to
learn. I suspect that it's just not putting the file somewhere to be found?

verbose log from android studio:

Cause: error when building with ndkBuild using
> $PATHTOUNIVERSALANDROID/gst-docs-1.18/examples/tutorials/android/android-tutorial-1/jni/
> Build command failed.
> Error while executing process $PATHTOANDROIDNDK/21.4.7075529/ndk-build
> with arguments {NDK_PROJECT_PATH=null
> APP_BUILD_SCRIPT=$PATHTOUNIVERSALANDROID/gst-docs-1.18/examples/tutorials/android/android-tutorial-1/jni/
> NDK_APPLICATION_MK=$PATHTOUNIVERSALANDROID/gst-docs-1.18/examples/tutorials/android/android-tutorial-1/jni/
> APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1
> APP_PLATFORM=android-21
> NDK_OUT=$PATHTOUNIVERSALANDROID/gst-docs-1.18/examples/tutorials/android/android-tutorial-1/build/intermediates/ndkBuild/debug/obj
> NDK_LIBS_OUT=$PATHTOUNIVERSALANDROID/gst-docs-1.18/examples/tutorials/android/android-tutorial-1/build/intermediates/ndkBuild/debug/lib
> -Dfile.encoding=UTF-8 GSTREAMER_ASSETS_DIR=src/assets

> $PATHTOANDROIDNDK/21.4.7075529/build/core/ Android
> NDK: Module tutorial-1 depends on undefined modules: gstreamer_android
> $PATHTOANDROIDNDK/21.4.7075529/build/core/ ***
> Android NDK: Note that old versions of ndk-build silently ignored this
> error case. If your project worked on those versions, the missing libraries
> were not needed and you can remove those dependencies from the module to
> fix your build. Alternatively, set APP_ALLOW_MISSING_DEPS=true to allow
> missing dependencies.    .  Stop.



Nathan Sinclair
nathan.sinclair at
Software Developer at Techmatics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list