Gstreamer + Android Studio + x86 and armv7 build

Sebastian Dröge sebastian at centricular.com
Fri Jan 22 08:49:11 PST 2016


On Fr, 2016-01-22 at 17:35 +0100, stic at free.fr wrote:
> Hi gstreamer friends !
> 
> Does anyone know if there is a possibility to make a build of an
> application using gstreamer SDK for x86 AND armv7 targets at the same
> time ?
> I tried using multiple targets with "APP_ABI := armeabi-v7a x86" in
> the Application.mk, and in Android.mk I change the gstreamer SDK path
> depending on TARGET_ARCH_ABI but gstreamer SDK fails to compile for
> x86 then.

You need something like this:
https://github.com/sdroege/gst-player/blob/master/android/jni/Android.mk#L12

And then set the relevant environment variables to the places where you
have the GStreamer binaries for the corresponding architecture.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-android/attachments/20160122/cab6deae/attachment.sig>


More information about the gstreamer-android mailing list