Today I started receiving a message with the latest versions of Android Build Tools (ABT) v19.0.3. At first glance, I thought this might be a problem with ABT. However, a closer investigation reveals that this message:
android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU
displayed only when using Proguard. The answers on the net did not give me a solution. Perhaps this is only a problem with Proguard (the version that I use bundled with the Android SDK v22.3).
I added the following directives to the proguard-project.txt file, but that doesnβt matter:
-keep interface android.support.v4.** { *; } -keep class android.support.v4.** { *; }
Does anyone else come across this post and have a possible solution? Perhaps Eric from Proguard could shed light on this issue. Does Proguard require code cleaning? I am interested to know the solution.
android proguard
Chuongpham
source share