Building gstreamer for android

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


Hello,

Trying to build the android tutorial 1 using android studio.

I have followed this article.
https://medium.com/swlh/lets-have-fun-gstreamer-android-tutorial-1-951ebfbb3f1e


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

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/Android.mk:
> 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/Android.mk
> NDK_APPLICATION_MK=$PATHTOUNIVERSALANDROID/gst-docs-1.18/examples/tutorials/android/android-tutorial-1/jni/Application.mk
> 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
> NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src
> GSTREAMER_ROOT_ANDROID=$PATHTOUNIVERSALANDROIDorg.gradle.jvmargs=-Xmx2048m
> -Dfile.encoding=UTF-8 GSTREAMER_ASSETS_DIR=src/assets
> APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}


> $PATHTOANDROIDNDK/21.4.7075529/build/core/build-binary.mk:651: Android
> NDK: Module tutorial-1 depends on undefined modules: gstreamer_android
> $PATHTOANDROIDNDK/21.4.7075529/build/core/build-binary.mk:664: ***
> 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.



Regards

Nathan


-- 
Nathan Sinclair
nathan.sinclair at techmatics.co.nz
0275559573
Software Developer at Techmatics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20221130/3dd99a89/attachment.htm>


More information about the gstreamer-devel mailing list