I use a few instances of WordUtils.capitalizeFully()
on an Android app that I’ve been working on. And there are times when the import org.apache.commons.lang3.text.WordUtils;
breaks, sometimes after merging with some of my git branches.
To fix this, what I do is open app/build.gradle
and add the following line under dependencies
:
1 |
compile 'org.apache.commons:commons-lang3:3.4' |
Hope this saves somebody else’s day 😆 I got the solution from How to add org.apache.commons.lang3 to AndroidStudio with gradle