cordova-plugin-tesseract icon indicating copy to clipboard operation
cordova-plugin-tesseract copied to clipboard

Error: Project with path 'tess-two' could not be found in root project 'android'.

Open JeetGandhi92 opened this issue 9 years ago • 2 comments

Getting this error even after following all steps followed all steps....

JeetGandhi92 avatar Sep 19 '16 13:09 JeetGandhi92

Me too

one-geek avatar Nov 17 '16 16:11 one-geek

I think the installation step is deprecated.

I finally install tess-two by following gustavomazzoni fork steps, but not the step 2.3, because i always have this error

Error: Project with path 'tess-two' could not be found in root project 'android'.

Make sure to download/clone the cordova-plugin-tesseract and install it. $ ionic plugin add path-to-your/cordova-plugin-tesseract

Then refresh the platform folders $ ionic platform rm android $ ionic platform add android

Then follow gustavomazzoni steps, but step 2.3 Original Recommantion at original tess-two github (https://github.com/rmtheis/tess-two) is dependencies { // SUB-PROJECT DEPENDENCIES END compile 'com.rmtheis:tess-two:6.1.1' }

instead of ...

dependencies { // SUB-PROJECT DEPENDENCIES END compile project(':tess-two') }

And ...you dont need todo step 2.4

one-geek avatar Dec 21 '16 14:12 one-geek