Skip to content

anonymous /gist:1481194
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Step 1) Path loading
export PATH=$PATH:/var/tmp/android-ndk-r7
export PATH=$PATH:/var/tmp/android-sdk-linux/tools
export PATH=$PATH:/home/sun/Download/gstreamer_ndk_bundle/androgenizer
$ echo $PATH
/usr/lib/qt-3.3/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/sun/bin:/usr/bin:/usr/local/bin:/sbin/:/usr/sbin/:/usr/local/sbin:/bin:/sbin:/var/tmp/android-ndk-r7:/var/tmp/android-sdk-linux/tools:/home/sun/Download/gstreamer_ndk_bundle/androgenizer:/home/sun/Download/gstreamer_ndk_bundle/androgenizer/androgenizer
Step 2) Find
# sudo find / -name androgenizer 2> /dev/null
/home/sun/Downloads/gstreamer_ndk_bundle/androgenizer
/home/sun/Downloads/gstreamer_ndk_bundle/androgenizer/androgenizer
Step 3) Build/Fails
[sun@example gstreamer_ndk_bundle]$ ./setup.sh
Updated project.properties
Updated local.properties
Updated file ./build.xml
Updated file ./proguard.cfg
androgenizer
android_headers
faad
glib
gnonlin
gst-android
gst-editing-services
gst-openmax
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gstreamer
jni
libid3tag
libmad
libs
obj
ogg
res
src
x264
/var/tmp/android-ndk-r7/build/core/add-toolchain.mk:59: *** Android NDK: Toolchain x86-4.4.3 lacks a setup.mk in /var/tmp/android-ndk-r7/toolchains/x86-4.4.3 . Stop.
[sun@example gstreamer_ndk_bundle]$ ls
androgenizer gst-android install_bundle.sh proguard.cfg
android_headers gst-editing-services jni project.properties
AndroidManifest.xml gst-openmax libid3tag res
build.xml gst-plugins-bad libmad setup.sh
config.sub gst-plugins-base libs src
faad gst-plugins-good local.properties x264
glib gst-plugins-ugly obj
gnonlin gstreamer ogg
[sun@example gstreamer_ndk_bundle]$ cat ./setup.sh
#!/bin/sh
#git submodule init
#git submodule update
mkdir -p src
target=`android list targets | grep "android-11" | cut -d' ' -f2`
android update project -n GStreamer -p . -t $target
for i in *; do if [ -d $i ]; then echo $i; cp config.sub $i; fi; done
rm -f res/config.sub
cp config.sub gst-openmax/build-aux/
ANDROGENIZER_NDK=1 NDK_BUILD=1 ndk-build gstreamer-aggregate-configure && ndk-build && ant debug
[sun@example gstreamer_ndk_bundle]$ android list targets
Available Android targets:
----------
id: 1 or "android-10"
Name: Android 2.3.3
Type: Platform
API level: 10
Revision: 2
Skins: QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854, HVGA
ABIs : armeabi
----------
id: 2 or "Google Inc.:Google APIs:10"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 2
Description: Android + Google APIs
Based on Android 2.3.3 (API level 10)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800 (default), QVGA
ABIs : no ABIs.
----------
id: 3 or "KYOCERA Corporation:DTS Add-On:10"
Name: DTS Add-On
Type: Add-On
Vendor: KYOCERA Corporation
Revision: 1
Description: DTS Add-On
Based on Android 2.3.3 (API level 10)
Libraries:
* com.kyocera.dualscreen (dualscreen.jar)
Dual Screen optional platform library
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800, QVGA
ABIs : no ABIs.
----------
id: 4 or "Sony Ericsson Mobile Communications AB:EDK 1.1:10"
Name: EDK 1.1
Type: Add-On
Vendor: Sony Ericsson Mobile Communications AB
Revision: 1
Description: XPERIA Device
Based on Android 2.3.3 (API level 10)
Libraries:
* com.sonyericsson.media.infinite.extension_1 (com.sonyericsson.media.infinite.extension_1.jar)
Library for Android Market filtering
* com.sonyericsson.eventstream_1 (com.sonyericsson.eventstream.jar)
Library for Android Market filtering
* com.sonyericsson.eventstream_2 (com.sonyericsson.eventstream.jar)
Library for Android Market filtering
Skins: WVGA854, WQVGA400, HVGA, WQVGA432, WVGA800, QVGA
ABIs : no ABIs.
----------
id: 5 or "android-11"
Name: Android 3.0
Type: Platform
API level: 11
Revision: 2
Skins: WXGA (default)
ABIs : armeabi
----------
id: 6 or "Google Inc.:Google APIs:11"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 3.0 (API level 11)
Libraries:
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WXGA (default)
ABIs : armeabi
----------
id: 7 or "android-13"
Name: Android 3.2
Type: Platform
API level: 13
Revision: 1
Skins: WXGA (default)
ABIs : armeabi
----------
id: 8 or "Google Inc.:Google APIs:13"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 3.2 (API level 13)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WXGA (default)
ABIs : no ABIs.
----------
id: 9 or "android-14"
Name: Android 4.0
Type: Platform
API level: 14
Revision: 2
Skins: WXGA800, WXGA720, QVGA, WSVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854, HVGA
ABIs : armeabi-v7a
----------
id: 10 or "Google Inc.:Google APIs:14"
Name: Google APIs
Type: Add-On
Vendor: Google Inc.
Revision: 1
Description: Android + Google APIs
Based on Android 4.0 (API level 14)
Libraries:
* com.android.future.usb.accessory (usb.jar)
API for USB Accessories
* com.google.android.maps (maps.jar)
API for Google Maps
Skins: WVGA854, WQVGA400, WSVGA, WXGA720, HVGA, WQVGA432, WVGA800 (default), QVGA, WXGA800
ABIs : armeabi-v7a
[sun@example gstreamer_ndk_bundle]$ android list targets | grep "android-11" | cut -d' ' -f2
5
[sun@example gstreamer_ndk_bundle]$ ./setup.sh
Updated project.properties
Updated local.properties
Updated file ./build.xml
Updated file ./proguard.cfg
androgenizer
android_headers
faad
glib
gnonlin
gst-android
gst-editing-services
gst-openmax
gst-plugins-bad
gst-plugins-base
gst-plugins-good
gst-plugins-ugly
gstreamer
jni
libid3tag
libmad
libs
obj
ogg
res
src
x264
/var/tmp/android-ndk-r7/build/core/add-toolchain.mk:59: *** Android NDK: Toolchain x86-4.4.3 lacks a setup.mk in /var/tmp/android-ndk-r7/toolchains/x86-4.4.3 . Stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.