In this git repo, the licenses for the software are:

For sources in tesseract-android-tools, which contains the Tesseract OCR library
and the leptonica image processing library, the license is Apache 2.0. See the
file COPYING there for details.

For sources in TessUI, the license is GNU AGPL v3 or later.  See the file
COPYING there for details.

Only these two source trees are involved in building the application Character
Recognition. the other directories are for internal testing use.