not able to run android examples in android studio under linux mint
Hi all,
I am trying to run the android examples. I followed the tutorial in https://gstreamer.freedesktop.org/documentation/installing/for-android-development.html?gi-language=c#download-and-install-gstreamer-binaries
I would appreciate your help. I used the newest Version of Android Studio, the 9.0 SDK and the newest NDK. I can provide additional information if needed.
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=0 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/build/intermediates/ndkBuild/release/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-4/build/intermediates/ndkBuild/debug/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/build/intermediates/ndkBuild/debug/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=0 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-5/build/intermediates/ndkBuild/release/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=0 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/build/intermediates/ndkBuild/release/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-3/build/intermediates/ndkBuild/debug/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/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=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=0 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-1/build/intermediates/ndkBuild/release/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/build/intermediates/ndkBuild/debug/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File
SIMPLE: Build command failed.
SIMPLE: Error while executing process /home/alex/Android/Sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/jni/Android.mk NDK_APPLICATION_MK=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/jni/Application.mk APP_ABI=x86_64 NDK_ALL_ABIS=x86_64 NDK_DEBUG=0 APP_PLATFORM=android-21 NDK_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=/home/alex/Dokumente/EntpackteDownloads/gst-docs-master/examples/tutorials/android/android-tutorial-2/build/intermediates/ndkBuild/release/lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=/home/alex/Dokumente/EntpackteDownloads/gstreamer-1.0-android-universal-1.16.0 GSTREAMER_ASSETS_DIR=src/assets APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
ERROR: *** Android NDK: Assertion failure: SYSROOT_LINK is not defined . Stop. Open File