Unable to build GStreamer for Android Tutorials

后端 未结 6 1316
南旧
南旧 2021-01-05 09:14

I\'m running into a number of issues attempting to build the GStreamer Android tutorials.

My environment is:

  • Mac OS X 7
  • Android SDK version 17
6条回答
  •  孤独总比滥情好
    2021-01-05 09:47

    @CAMOBAP Thank you for your post. It really help me. I am possible to build Android example in eclipse. Main problem was:

    SHELL := PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin /bin/bash
    

    Fo GSTREAMER_SDK_ROOT_ANDROID

    1. Right click on Project->Properties->C/C++ Build->Environment Add-> Name: GSTREAMER_SDK_ROOT_ANDROID Value: /Users/Your/Path/To/gstreamer-sdk-android-arm-release-2013.6 Add it also for Build Variables.

    Next: You don't have to remove the ending forward slash from the line of code in MAC and you don't have to add Includes in Eclipse. These dependencies will be solved automatic after first build. Be sure that your Android SDK and NDK are running well in Eclipse. I also added SDK and NDK paths to:

    nano .bash_profile
    

    This is running on MAC. I also changed Manifest file to:

        android:minSdkVersion="xx"
        android:targetSdkVersion="xx" />
    

    For Tutorial 5 from Android Gstreamer you need to add sdcard permission:

    
    

提交回复
热议问题