0

To test Tesseract in a simple app found in this tutorial , I need to import it in Android Studio. I get this error:

Library reference ....\tess\tess-two could not be found

How I can solve this ?

mins
  • 6,478
  • 12
  • 56
  • 75
Hagar
  • 31
  • 6

2 Answers2

0

Try to set the line

android.library.reference.1=../../tess/tess-two
in the project.properties file properly.

This line makes reference to the tess-two library.

Alternative way: remove android.library.reference.1=... line and after importing your project just make referencing to the tess-two library project as described here (in ADT)

Ilya Rochev
  • 157
  • 1
  • 3
  • 13
0

Get tess-two with

git clone https://github.com/rmtheis/tess-two.git tess

and put tess in the right place where your main module can find it.

Luís Cruz
  • 14,780
  • 16
  • 68
  • 100
lawrence
  • 66
  • 3