diff --git a/examples/tutorials/android/android-tutorial-1/build.gradle b/examples/tutorials/android/android-tutorial-1/build.gradle index fe84087c7c30cb4a514755b03920fd1495efe821..1b38d3ca087541c73ec973684d2ec9c7e99999d7 100644 --- a/examples/tutorials/android/android-tutorial-1/build.gradle +++ b/examples/tutorials/android/android-tutorial-1/build.gradle @@ -29,8 +29,7 @@ android { targets "tutorial-1" // All archs except MIPS and MIPS64 are supported - abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' - // x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454 + abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } } } diff --git a/examples/tutorials/android/android-tutorial-1/jni/Android.mk b/examples/tutorials/android/android-tutorial-1/jni/Android.mk index ae154985c15a0fa33d389f137d292568583c2368..ceda28cd2da04fcd5109b28329f91986bbdff32c 100644 --- a/examples/tutorials/android/android-tutorial-1/jni/Android.mk +++ b/examples/tutorials/android/android-tutorial-1/jni/Android.mk @@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := tutorial-1 -LOCAL_SRC_FILES := tutorial-1.c +LOCAL_SRC_FILES := tutorial-1.c dummy.cpp LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -llog include $(BUILD_SHARED_LIBRARY) @@ -28,4 +28,5 @@ endif GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build/ GSTREAMER_PLUGINS := coreelements +GSTREAMER_EXTRA_LIBS := -liconv include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk diff --git a/examples/tutorials/android/android-tutorial-1/jni/Application.mk b/examples/tutorials/android/android-tutorial-1/jni/Application.mk index b8848e8db7a15ac0b849a13228c0e0e97332820a..1f4ab316f5e8fb02ba27b4bfa0ee67b1f2ccf786 100644 --- a/examples/tutorials/android/android-tutorial-1/jni/Application.mk +++ b/examples/tutorials/android/android-tutorial-1/jni/Application.mk @@ -1 +1,2 @@ APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64 +APP_STL = c++_shared \ No newline at end of file diff --git a/examples/tutorials/android/android-tutorial-1/jni/dummy.cpp b/examples/tutorials/android/android-tutorial-1/jni/dummy.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/tutorials/android/android-tutorial-2/build.gradle b/examples/tutorials/android/android-tutorial-2/build.gradle index 0174070495157b947e1b53313d4303d76cc6754a..e2caed9a96c3f84c357694ed42f2f5d069927caf 100644 --- a/examples/tutorials/android/android-tutorial-2/build.gradle +++ b/examples/tutorials/android/android-tutorial-2/build.gradle @@ -29,8 +29,7 @@ android { targets "tutorial-2" // All archs except MIPS and MIPS64 are supported - abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' - // x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454 + abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } } } diff --git a/examples/tutorials/android/android-tutorial-2/jni/Android.mk b/examples/tutorials/android/android-tutorial-2/jni/Android.mk index 42ed3c6935dbed33502628233a5c4df886264e9b..e5a08f38d368cc895645ebf0c426c4fe6e0abe35 100644 --- a/examples/tutorials/android/android-tutorial-2/jni/Android.mk +++ b/examples/tutorials/android/android-tutorial-2/jni/Android.mk @@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := tutorial-2 -LOCAL_SRC_FILES := tutorial-2.c +LOCAL_SRC_FILES := tutorial-2.c dummy.cpp LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -llog include $(BUILD_SHARED_LIBRARY) @@ -29,4 +29,5 @@ endif GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build/ include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_SYS) +GSTREAMER_EXTRA_LIBS := -liconv include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk diff --git a/examples/tutorials/android/android-tutorial-2/jni/Application.mk b/examples/tutorials/android/android-tutorial-2/jni/Application.mk index b8848e8db7a15ac0b849a13228c0e0e97332820a..1f4ab316f5e8fb02ba27b4bfa0ee67b1f2ccf786 100644 --- a/examples/tutorials/android/android-tutorial-2/jni/Application.mk +++ b/examples/tutorials/android/android-tutorial-2/jni/Application.mk @@ -1 +1,2 @@ APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64 +APP_STL = c++_shared \ No newline at end of file diff --git a/examples/tutorials/android/android-tutorial-2/jni/dummy.cpp b/examples/tutorials/android/android-tutorial-2/jni/dummy.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/tutorials/android/android-tutorial-3/build.gradle b/examples/tutorials/android/android-tutorial-3/build.gradle index 19b61e1d8effe6c31cae058a6d56a0ce53c6e90e..e959dd1861ef9825f8ef1958c38f096458bdd99f 100644 --- a/examples/tutorials/android/android-tutorial-3/build.gradle +++ b/examples/tutorials/android/android-tutorial-3/build.gradle @@ -29,8 +29,7 @@ android { targets "tutorial-3" // All archs except MIPS and MIPS64 are supported - abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' - // x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454 + abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } } } diff --git a/examples/tutorials/android/android-tutorial-3/jni/Android.mk b/examples/tutorials/android/android-tutorial-3/jni/Android.mk index 537e621c1c81e3eaa5a583d0277299e74bb38b86..316495fcff6f4f50a859fbe72667f2dd86c01346 100644 --- a/examples/tutorials/android/android-tutorial-3/jni/Android.mk +++ b/examples/tutorials/android/android-tutorial-3/jni/Android.mk @@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := tutorial-3 -LOCAL_SRC_FILES := tutorial-3.c +LOCAL_SRC_FILES := tutorial-3.c dummy.cpp LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -llog -landroid include $(BUILD_SHARED_LIBRARY) @@ -29,5 +29,6 @@ endif GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build/ include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_SYS) $(GSTREAMER_PLUGINS_EFFECTS) -GSTREAMER_EXTRA_DEPS := gstreamer-video-1.0 +GSTREAMER_EXTRA_DEPS := gstreamer-video-1.0 gobject-2.0 +GSTREAMER_EXTRA_LIBS := -liconv include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer-1.0.mk diff --git a/examples/tutorials/android/android-tutorial-3/jni/Application.mk b/examples/tutorials/android/android-tutorial-3/jni/Application.mk index b8848e8db7a15ac0b849a13228c0e0e97332820a..1f4ab316f5e8fb02ba27b4bfa0ee67b1f2ccf786 100644 --- a/examples/tutorials/android/android-tutorial-3/jni/Application.mk +++ b/examples/tutorials/android/android-tutorial-3/jni/Application.mk @@ -1 +1,2 @@ APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64 +APP_STL = c++_shared \ No newline at end of file diff --git a/examples/tutorials/android/android-tutorial-3/jni/dummy.cpp b/examples/tutorials/android/android-tutorial-3/jni/dummy.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/tutorials/android/android-tutorial-4/build.gradle b/examples/tutorials/android/android-tutorial-4/build.gradle index d771f3c8c45893ead322f72acb8920c1365aabe2..32d885661f5831808af721f36104c77685e7dd02 100644 --- a/examples/tutorials/android/android-tutorial-4/build.gradle +++ b/examples/tutorials/android/android-tutorial-4/build.gradle @@ -29,8 +29,7 @@ android { targets "tutorial-4" // All archs except MIPS and MIPS64 are supported - abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' - // x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454 + abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } } } diff --git a/examples/tutorials/android/android-tutorial-4/jni/Android.mk b/examples/tutorials/android/android-tutorial-4/jni/Android.mk index 9c19ac5c6e80b167ffcf960ec95ff534711d8dad..df2186816f61e0000daadb562c29fb5541617d3f 100644 --- a/examples/tutorials/android/android-tutorial-4/jni/Android.mk +++ b/examples/tutorials/android/android-tutorial-4/jni/Android.mk @@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := tutorial-4 -LOCAL_SRC_FILES := tutorial-4.c +LOCAL_SRC_FILES := tutorial-4.c dummy.cpp LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -llog -landroid include $(BUILD_SHARED_LIBRARY) diff --git a/examples/tutorials/android/android-tutorial-4/jni/Application.mk b/examples/tutorials/android/android-tutorial-4/jni/Application.mk index b8848e8db7a15ac0b849a13228c0e0e97332820a..1f4ab316f5e8fb02ba27b4bfa0ee67b1f2ccf786 100644 --- a/examples/tutorials/android/android-tutorial-4/jni/Application.mk +++ b/examples/tutorials/android/android-tutorial-4/jni/Application.mk @@ -1 +1,2 @@ APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64 +APP_STL = c++_shared \ No newline at end of file diff --git a/examples/tutorials/android/android-tutorial-4/jni/dummy.cpp b/examples/tutorials/android/android-tutorial-4/jni/dummy.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/tutorials/android/android-tutorial-5/build.gradle b/examples/tutorials/android/android-tutorial-5/build.gradle index 108b481bf7a12e5d15509cc54fc169e5b993adae..10230fbb4d48a5ac2a50ef80eabb1f1672cfdfe8 100644 --- a/examples/tutorials/android/android-tutorial-5/build.gradle +++ b/examples/tutorials/android/android-tutorial-5/build.gradle @@ -29,8 +29,7 @@ android { targets "tutorial-5" // All archs except MIPS and MIPS64 are supported - abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86' - // x86_64 abis disabled because of https://bugzilla.gnome.org/show_bug.cgi?id=795454 + abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } } } diff --git a/examples/tutorials/android/android-tutorial-5/jni/Android.mk b/examples/tutorials/android/android-tutorial-5/jni/Android.mk index 80e7b4e9ff902ab39b7fa150384e8807be0e36f0..b6965662169065572ae8373ba273ecf82940eb50 100755 --- a/examples/tutorials/android/android-tutorial-5/jni/Android.mk +++ b/examples/tutorials/android/android-tutorial-5/jni/Android.mk @@ -3,7 +3,7 @@ LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := tutorial-5 -LOCAL_SRC_FILES := tutorial-5.c +LOCAL_SRC_FILES := tutorial-5.c dummy.cpp LOCAL_SHARED_LIBRARIES := gstreamer_android LOCAL_LDLIBS := -llog -landroid include $(BUILD_SHARED_LIBRARY) diff --git a/examples/tutorials/android/android-tutorial-5/jni/Application.mk b/examples/tutorials/android/android-tutorial-5/jni/Application.mk index b8848e8db7a15ac0b849a13228c0e0e97332820a..1f4ab316f5e8fb02ba27b4bfa0ee67b1f2ccf786 100644 --- a/examples/tutorials/android/android-tutorial-5/jni/Application.mk +++ b/examples/tutorials/android/android-tutorial-5/jni/Application.mk @@ -1 +1,2 @@ APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64 +APP_STL = c++_shared \ No newline at end of file diff --git a/examples/tutorials/android/android-tutorial-5/jni/dummy.cpp b/examples/tutorials/android/android-tutorial-5/jni/dummy.cpp new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/examples/tutorials/android/build.gradle b/examples/tutorials/android/build.gradle index 4a706d96c4c0418113f1f0f49ed62f6c667dcc77..55db43fb8802affb2eb53accd61ba5298ef06493 100644 --- a/examples/tutorials/android/build.gradle +++ b/examples/tutorials/android/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:3.1.1' + classpath 'com.android.tools.build:gradle:3.1.4' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files