Gstreamer + Android Studio + x86 and armv7 build

Sebastian Dröge sebastian at centricular.com
Fri Jan 22 09:42:35 PST 2016


On Fr, 2016-01-22 at 18:20 +0100, stic at free.fr wrote:
> Thanks. I already have something very similar with my Android.mk.
> It can compile properly armv7 or x86 separately, but if I try to
> compile both target in the same build it compiles armv7 but then
> fails for x86 with many errors such:
> gstreamer-1.0-android-armv7-1.6.1-release/lib/libgstreamer-
> 1.0.a(libgstreamer_1.0_la-gstpad.o): incompatible target
> 
> It seems it still uses armv7 libs... :/

You have to set GSTREAMER_ROOT_ARM, GSTREAMER_ROOT_X86, etc and must
not set GSTREAMER_ROOT or GSTREAMER_ROOT_ANDROID. Then it should work
(and does here).

-- 
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/dbbd46b9/attachment.sig>


More information about the gstreamer-android mailing list