Android app dev: Missing import org.apache.commons.lang3.text.WordUtils;


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:

Hope this saves somebody else’s day 😆 I got the solution from How to add org.apache.commons.lang3 to AndroidStudio with gradle

Related Posts

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *