[Miscellaneous Android Development] Christian Troy:
i've tried to start with jb but cedar's prebuilt static libraries are compiled against "old" ics functions (why do they have to ship sources with prebuilt libraries? bha)

/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxsftdemux.a(demux_sft.o): in function android::StagefrightDemuxer::GetCacheState(CDX_CACHE_STATE*):(.text._ZN7android18StagefrightDemuxer13GetCacheStateEP15CDX_CACHE_STATE+0x14): error: undefined reference to 'android::NuCachedSource2::approxDataRemaining(int*)'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxstream.a(sft_http_stream.o): in function android::SftHttpStream::GetCacheState(CDX_CACHE_STATE*):(.text._ZN7android13SftHttpStream13GetCacheStateEP15CDX_CACHE_STATE+0x28): error: undefined reference to 'android::NuCachedSource2::approxDataRemaining(int*)'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::startRender():(.text._ZN7android9CedarXSub11startRenderEv+0xdc): error: undefined reference to 'SkCanvas::setBitmapDevice(SkBitmap const&, bool)'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::startRenderRegion(int, int, int, int):(.text._ZN7android9CedarXSub17startRenderRegionEiiii+0x118): error: undefined reference to 'SkCanvas::setBitmapDevice(SkBitmap const&, bool)'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::CedarXSub(int, int, int, int):(.text._ZN7android9CedarXSubC1Eiiii+0x22c): error: undefined reference to 'SkCanvas::SkCanvas(SkDeviceFactory*)'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::convertUniCode(SUBTITLE_ITEM_INF*):(.text._ZN7android9CedarXSub14convertUniCodeEP17SUBTITLE_ITEM_INF+0x170): error: undefined reference to 'ucnv_open_46'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::convertUniCode(SUBTITLE_ITEM_INF*):(.text._ZN7android9CedarXSub14convertUniCodeEP17SUBTITLE_ITEM_INF+0x190): error: undefined reference to 'ucnv_open_46'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::convertUniCode(SUBTITLE_ITEM_INF*):(.text._ZN7android9CedarXSub14convertUniCodeEP17SUBTITLE_ITEM_INF+0x21c): error: undefined reference to 'ucnv_convertEx_46'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::convertUniCode(SUBTITLE_ITEM_INF*):(.text._ZN7android9CedarXSub14convertUniCodeEP17SUBTITLE_ITEM_INF+0x258): error: undefined reference to 'ucnv_close_46'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::convertUniCode(SUBTITLE_ITEM_INF*):(.text._ZN7android9CedarXSub14convertUniCodeEP17SUBTITLE_ITEM_INF+0x260): error: undefined reference to 'ucnv_close_46'
/mnt/500G/A10/cm10/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld: ./external/cedarx/CedarX/../CedarAndroidLib/LIB_ICS_F23/libcedarxrender.a(subtitle_render_android.o): in function android::CedarXSub::convertUniCode(SUBTITLE_ITEM_INF*):(.text._ZN7android9CedarXSub14convertUniCodeEP17SUBTITLE_ITEM_INF+0x628): error: undefined reference to 'ucnv_close_46'

i can get rid of the first two issues changing nuplayer's function but i've stucked at skia, this one in particular: "'SkCanvas::SkCanvas(SkDeviceFactory*)'" if i try to merge the relevant part of code from ics' skia it won't compile.

using the whole ics' skia it's not possible because other tools require the newer function

right now i'm giving up and feel kinda frustated because i've spent many hours for nothing :/