public
anonymous / gist:1481194
Created

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218
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.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.