As of Android 7.0 (API 24), the ICU framework is exposed so that you don't need to include the library separately in your app. The documentation recommends creating multiple versions of your APK if you need to include it in earlier Android versions.
Of course, if you only need it for one small thing, then it would be better to find a native Android or Java API that can do the job, or some smaller third-party library.
Note
- With some work it may be possible to edit the ICU library to be significantly smaller. See this page for more details.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…