{"action":"created","issue":{"url":"https://api.github.com/repos/centricular/android_rtsp_example/issues/1","repository_url":"https://api.github.com/repos/centricular/android_rtsp_example","labels_url":"https://api.github.com/repos/centricular/android_rtsp_example/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/centricular/android_rtsp_example/issues/1/comments","events_url":"https://api.github.com/repos/centricular/android_rtsp_example/issues/1/events","html_url":"https://github.com/centricular/android_rtsp_example/issues/1","id":362102929,"node_id":"MDU6SXNzdWUzNjIxMDI5Mjk=","number":1,"title":"gst-build-armeabi-v7a/gstreamer_android.c error","user":{"login":"akserhat","id":7405129,"node_id":"MDQ6VXNlcjc0MDUxMjk=","avatar_url":"https://avatars0.githubusercontent.com/u/7405129?v=4","gravatar_id":"","url":"https://api.github.com/users/akserhat","html_url":"https://github.com/akserhat","followers_url":"https://api.github.com/users/akserhat/followers","following_url":"https://api.github.com/users/akserhat/following{/other_user}","gists_url":"https://api.github.com/users/akserhat/gists{/gist_id}","starred_url":"https://api.github.com/users/akserhat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akserhat/subscriptions","organizations_url":"https://api.github.com/users/akserhat/orgs","repos_url":"https://api.github.com/users/akserhat/repos","events_url":"https://api.github.com/users/akserhat/events{/privacy}","received_events_url":"https://api.github.com/users/akserhat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-20T09:41:31Z","updated_at":"2018-10-06T00:14:43Z","closed_at":null,"author_association":"NONE","body":"hi,\r\nI'm getting this error. How do I edit it?\r\n\r\n### > Build command failed.\r\n> Error while executing process C:\\Users\\Samsung\\AppData\\Local\\Android\\sdk\\ndk-bundle\\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=D:\\Rtsp\\android_rtsp_example-master\\app\\jni\\Android.mk NDK_APPLICATION_MK=D:\\Rtsp\\android_rtsp_example-master\\app\\jni\\Application.mk APP_ABI=armeabi-v7a NDK_ALL_ABIS=armeabi-v7a NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=D:/Rtsp/android_rtsp_example-master/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=D:\\Rtsp\\android_rtsp_example-master\\app\\build\\intermediates\\ndkBuild\\debug\\lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=D:/Rtsp/gstreamer/android GSTREAMER_ASSETS_DIR=src/assets D:/Rtsp/android_rtsp_example-master/app/build/intermediates/ndkBuild/debug/obj/local/armeabi-v7a/librtsp-example.so}\r\n> [armeabi-v7a] Compile thumb  : rtsp-example <= rtsp-example.c\r\n> GStreamer      : [GEN] => gst-build-armeabi-v7a/gstreamer_android.c\r\n> GStreamer      : [COMPILE] => gst-build-armeabi-v7a/gstreamer_android.c\r\n> clang.exe: error: unsupported option '-fpic' for target 'x86_64-w64-windows-gnu'\r\n> make: *** [gst-build-armeabi-v7a/gstreamer_android.o] Error 1"},"comment":{"url":"https://api.github.com/repos/centricular/android_rtsp_example/issues/comments/427530181","html_url":"https://github.com/centricular/android_rtsp_example/issues/1#issuecomment-427530181","issue_url":"https://api.github.com/repos/centricular/android_rtsp_example/issues/1","id":427530181,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzUzMDE4MQ==","user":{"login":"RyanHurst","id":14314222,"node_id":"MDQ6VXNlcjE0MzE0MjIy","avatar_url":"https://avatars1.githubusercontent.com/u/14314222?v=4","gravatar_id":"","url":"https://api.github.com/users/RyanHurst","html_url":"https://github.com/RyanHurst","followers_url":"https://api.github.com/users/RyanHurst/followers","following_url":"https://api.github.com/users/RyanHurst/following{/other_user}","gists_url":"https://api.github.com/users/RyanHurst/gists{/gist_id}","starred_url":"https://api.github.com/users/RyanHurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RyanHurst/subscriptions","organizations_url":"https://api.github.com/users/RyanHurst/orgs","repos_url":"https://api.github.com/users/RyanHurst/repos","events_url":"https://api.github.com/users/RyanHurst/events{/privacy}","received_events_url":"https://api.github.com/users/RyanHurst/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T00:14:43Z","updated_at":"2018-10-06T00:14:43Z","author_association":"NONE","body":"I ran into this after updating my ndk. It would seem that gstreamer is incompatible with the newest ndk. It would work before updating ndk, then stopped working after updating ndk. Verified on two separate machines.\r\n\r\n`Executing tasks: [:app:assembleDebug]\r\n\r\nExternal native generate JSON debug: building json with force flag false\r\nExternal native generate JSON debug: starting JSON generation\r\nExternal native generate JSON debug: using platform version 16 for ABI X86 and min SDK version 15\r\nExternal native generate JSON debug: JSON 'C:\\Users\\Ryan\\work\\android_rtsp_example\\app\\.externalNativeBuild\\ndkBuild\\debug\\x86\\android_gradle_build.json' was up-to-date\r\nExternal native generate JSON debug: using platform version 16 for ABI ARMEABI_V7A and min SDK version 15\r\nExternal native generate JSON debug: JSON 'C:\\Users\\Ryan\\work\\android_rtsp_example\\app\\.externalNativeBuild\\ndkBuild\\debug\\armeabi-v7a\\android_gradle_build.json' was up-to-date\r\nExternal native generate JSON debug: using platform version 21 for ABI ARM64_V8A and min SDK version 15\r\nExternal native generate JSON debug: JSON 'C:\\Users\\Ryan\\work\\android_rtsp_example\\app\\.externalNativeBuild\\ndkBuild\\debug\\arm64-v8a\\android_gradle_build.json' was up-to-date\r\nExternal native generate JSON debug: JSON generation completed without problems\r\n:app:buildInfoDebugLoader\r\n:app:preBuild UP-TO-DATE\r\n:app:preDebugBuild UP-TO-DATE\r\n:app:compileDebugAidl UP-TO-DATE\r\n:app:compileDebugRenderscript UP-TO-DATE\r\n:app:generateJsonModelDebug UP-TO-DATE\r\n:app:externalNativeBuildDebug\r\nBuild rtsp-example arm64-v8a\r\nGStreamer      : [GEN] => gst-build-arm64-v8a/gstreamer_android.c\r\nGStreamer      : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c\r\nclang.exe: error: unsupported option '-fpic' for target 'x86_64-w64-windows-gnu'\r\nmake: *** [gst-build-arm64-v8a/gstreamer_android.o] Error 1\r\n:app:externalNativeBuildDebug FAILED\r\n:app:buildInfoGeneratorDebug\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:externalNativeBuildDebug'.\r\n> Build command failed.\r\n Error while executing process C:\\Users\\Ryan\\AppData\\Local\\Android\\Sdk\\ndk-bundle\\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\\Users\\Ryan\\work\\android_rtsp_example\\app\\jni\\Android.mk NDK_APPLICATION_MK=C:\\Users\\Ryan\\work\\android_rtsp_example\\app\\jni\\Application.mk APP_ABI=arm64-v8a NDK_ALL_ABIS=arm64-v8a NDK_DEBUG=1 APP_PLATFORM=android-21 NDK_OUT=C:/Users/Ryan/work/android_rtsp_example/app/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\\Users\\Ryan\\work\\android_rtsp_example\\app\\build\\intermediates\\ndkBuild\\debug\\lib NDK_APPLICATION_MK=jni/Application.mk GSTREAMER_JAVA_SRC_DIR=src GSTREAMER_ROOT_ANDROID=C:/Users/Ryan/work/gstreamer-1.0-android-universal-1.14.1 GSTREAMER_ASSETS_DIR=src/assets C:/Users/Ryan/work/android_rtsp_example/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/librtsp-example.so}\r\n GStreamer      : [GEN] => gst-build-arm64-v8a/gstreamer_android.c\r\n GStreamer      : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c\r\n clang.exe: error: unsupported option '-fpic' for target 'x86_64-w64-windows-gnu'\r\n make: *** [gst-build-arm64-v8a/gstreamer_android.o] Error 1\r\n\r\n\r\n* Try:\r\nRun with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 9s\r\n7 actionable tasks: 3 executed, 4 up-to-date`\r\nverified with 1.14.1 and 1.14.3"}}
{"actor":{"display_login":"RyanHurst"}}