Comments (2)
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. verified with 1.14.1 and 1.14.3
Executing tasks: [:app:assembleDebug]
External native generate JSON debug: building json with force flag false
External native generate JSON debug: starting JSON generation
External native generate JSON debug: using platform version 16 for ABI X86 and min SDK version 15
External 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
External native generate JSON debug: using platform version 16 for ABI ARMEABI_V7A and min SDK version 15
External 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
External native generate JSON debug: using platform version 21 for ABI ARM64_V8A and min SDK version 15
External 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
External native generate JSON debug: JSON generation completed without problems
:app:buildInfoDebugLoader
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateJsonModelDebug UP-TO-DATE
:app:externalNativeBuildDebug
Build rtsp-example arm64-v8a
GStreamer : [GEN] => gst-build-arm64-v8a/gstreamer_android.c
GStreamer : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c
clang.exe: error: unsupported option '-fpic' for target 'x86_64-w64-windows-gnu'
make: *** [gst-build-arm64-v8a/gstreamer_android.o] Error 1
:app:externalNativeBuildDebug FAILED
:app:buildInfoGeneratorDebug
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':app:externalNativeBuildDebug'.
Build command failed.
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}
GStreamer : [GEN] => gst-build-arm64-v8a/gstreamer_android.c
GStreamer : [COMPILE] => gst-build-arm64-v8a/gstreamer_android.c
clang.exe: error: unsupported option '-fpic' for target 'x86_64-w64-windows-gnu'
make: *** [gst-build-arm64-v8a/gstreamer_android.o] Error 1
-
Try:
Run 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. -
Get more help at https://help.gradle.org
BUILD FAILED in 9s
7 actionable tasks: 3 executed, 4 up-to-date
from android_rtsp_example.
See https://bugzilla.gnome.org/show_bug.cgi?id=759737
from android_rtsp_example.
Related Issues (5)
- Getting "executing external native build for ndkBuild D:\repos\android_rtsp_example\app\jni\Android.mk" under Android Studio, Windows
- java.lang.UnsatisfiedLinkError: dlopen failed: library "libc++_shared.so" not found HOT 12
- how to optimize latency HOT 4
- package name same as generated classes, deprecation when using latest android sdk HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android_rtsp_example.