Open marcos69 opened 12 years ago
So they finally updated Android's ICU... Anyway, relying on ICU being there was a big hack, instead Itoa should build and use its own version. That will increase app size though. I will do that next week.
2012/9/7 marcos69 notifications@github.com
Running cleanCf on Android 4+ doesn't work anymore. It will load the libicui18n.so and libicuuc.so from the system, but it's look like that Android 4+ use a newer version of ICU, dlopen will fail on non resolved symbols. I tried to compile cleanCF with the includes of the newer ICU, but unum.h ucurr.h won't be found as the were removed from ICU.
I couldn't find any old, static lib of libicui18n.a libicuuc.a so I could built a static linked cleanCF.
I got also problem's to built an example using something like "PREBUILT_SHARED_LIBBRARIES" of both old libs, seem's that this function (from std ndk) is not included in the iota-ndk.
— Reply to this email directly or view it on GitHubhttps://github.com/DmitrySkiba/itoa-cleancf/issues/1.
I got it to work. I also found unum.h and ucur.h but I had to merge the headers from common/unicode and i18n/unicode into in the empty cleancf/android/src/icu4c/unicode dir, modified the platform.h put 46 at the end. Both .so where replaced with the newer one (4.04). Did build, and look like to work (with Macarse-Itoa-test where I did replace the cleancf and foundation). I did download the last android/extern/icu from google but this one is version 48, the libs from (4.04) where 46.
Running cleanCf on Android 4+ doesn't work anymore. It will load the libicui18n.so and libicuuc.so from the system, but it's look like that Android 4+ use a newer version of ICU, dlopen will fail on non resolved symbols. I tried to compile cleanCF with the includes of the newer ICU, but unum.h ucurr.h won't be found as the were removed from ICU.
I couldn't find any old, static lib of libicui18n.a libicuuc.a so I could built a static linked cleanCF.
I got also problem's to built an example using something like "PREBUILT_SHARED_LIBBRARIES" of both old libs, seem's that this function (from std ndk) is not included in the iota-ndk.