Building Android tutorials on Mac

delgado k.smirenko at gmail.com
Thu Feb 21 10:23:13 UTC 2019


Hi,

First of all, many thanks for maintaining GStreamer, it's a great framework.

For several days I've been struggling to start developing building Android
apps with GStreamer on Mac OS host. I started with building the Android
tutorials, but didn't manage to even build tutorial 1.

I made several minor changes to the makefiles, such as
- removing `armeabi` from `APP_ABI` in Application.mk (not supported
anymore)
- adding `SYSROOT_LINK := SYSROOT_INC` to Android.mk (got assertion error
otherwise, by default SYSROOT_INC was defined, and SYSROOT_LINK was not)

My environment:
- macOS v10.14.3 (Mojave)
- SDK: API 28 revision 6, build tools v28.0.3 (latest)
- NDK v19.1.5304403 (latest)
- gstreamer-1.0-android-universal-1.15.1

GSTREAMER_ROOT_ANDROID is set properly and resolves correctly during build
attempts.

I have uploaded a file with the log, because it is too long: 
gstreamer-mac-android-log.txt
<http://gstreamer-devel.966125.n4.nabble.com/file/t378767/gstreamer-mac-android-log.txt>  

I suppose there is some linkage problem. The first error lines are very
similar to those in  this StackOverflow question
<https://stackoverflow.com/questions/52046168/ndk-linking-library-with-cmake> 
, but unlike the SO author, I use ndk-build, not CMake and (I believe) do
not overwrite CMAKE_CXX_FLAGS.

Please give me a hand if you can :)




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list