0
Android Studio를 사용하여 Gstreamer를 사용하는 데 많은 어려움을 겪고 있습니다. 지금까지 Android Studio 2.2.3 및 Gstreamer-1.0-android-universal-1.10.2 라이브러리를 사용했습니다. Gradle을 콘솔 디스플레이로Gstreamer : 시작 프로세스 'command'/ android-ndk-r13b/ndk-build ''
Error:Execution failed for task ':app:ndkBuild'.
A problem occurred starting process 'command '/android-ndk-r13b/ndk-build''
:
Executing tasks: [:app:generateDebugSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:generateDebugAndroidTestSources, :app:compileDebugSources, :app:compileDebugUnitTestSources, :app:compileDebugAndroidTestSources]
Configuration on demand is an incubating feature.
C:\Users\Ong Heng Gnee\AndroidStudioProjects\Gstreamer-Android-example-master\Gstreamer-Android-example-master\app\build/libs
C:\Users\Public\Android\Sdk\ndk-bundle
Incremental java compilation is an incubating feature.
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources UP-TO-DATE
:app:processDebugManifest UP-TO-DATE
:app:processDebugResources UP-TO-DATE
:app:generateDebugSources UP-TO-DATE
:app:mockableAndroidJar UP-TO-DATE
:app:preDebugUnitTestBuild UP-TO-DATE
:app:prepareDebugUnitTestDependencies
:app:preDebugAndroidTestBuild UP-TO-DATE
:app:prepareDebugAndroidTestDependencies
:app:compileDebugAndroidTestAidl UP-TO-DATE
:app:processDebugAndroidTestManifest UP-TO-DATE
:app:compileDebugAndroidTestRenderscript UP-TO-DATE
:app:generateDebugAndroidTestBuildConfig UP-TO-DATE
:app:generateDebugAndroidTestResValues UP-TO-DATE
:app:generateDebugAndroidTestResources UP-TO-DATE
:app:mergeDebugAndroidTestResources UP-TO-DATE
:app:processDebugAndroidTestResources UP-TO-DATE
:app:generateDebugAndroidTestSources UP-TO-DATE
:app:incrementalDebugJavaCompilationSafeguard UP-TO-DATE
:app:ndkBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:ndkBuild'.
> A problem occurred starting process 'command '/android-ndk-r13b/ndk-build''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.985 secs
내가하지만 도움도 기본 NDK-번들을 사용하고 여기에
내가 점점 오전 오류입니다. 이 GitHub의에서 사용원본 게시물 :
https://github.com/jaroslavas/Gstreamer-Android-Example
*** 업데이트 :이 하나에 도달했습니다 여기에 최종 결과가까지 내가 명령 줄의 코드를 여러 번 변경 . // commandLine "$ ndkDir/ndk-build.cmd", // 명령 줄 'andandroid-ndk-r13b/ndk-build','- C',file('rc/main/jni').absolutePath, commandLine'C : \\ android-ndk-r13b/ndk-build.cmd ', clang.exe : 오류 :'-fuse-ld = gold '인수의 링커 이름이 잘못되었습니다. make : *** [buildsharedlibrary_armeabi] 오류 1 : app : ndkBuild FAILED FAILURE : 예외가 발생하여 빌드가 실패했습니다. – CoDeco
당신은'ndkDir'이 올바르게 지정되어 있습니까? 'ndk-build'를 수동으로'app/src/main /'dir과 post 출력을 실행하십시오. – CAMOBAP