gustavomazzoni / cordova-plugin-tesseract

Cordova Plugin for OCR process using Tesseract
77 stars 34 forks source link

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

Open JeetGandhi92 opened 8 years ago

JeetGandhi92 commented 8 years ago

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

one-geek commented 7 years ago

Me too

one-geek commented 7 years ago

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