Reputation: 2617
I've compiled the project using the instructions given here and am now trying to add it to my Android project.
I've tried adding it as a library, in which case the symbol for class com.googlecode.android
does not exist.
Also, importing it as a module and depending on that, leading to a lot of libraries not being found within the tess-two module.
So, how do I use tess-two with an existing Android project in the IntelliJ IDE?
(Now a Maven project)
Upvotes: 2
Views: 3210
Reputation: 836
I had the same issue. First i followed these instructions for gradle configuration : https://coderwall.com/p/eurvaq It means building with the ndk and ant, then following the instructions, manually adding and editing the guy's build.gradle in android studio, and importing tess-two as a module. Only then did i get that error (i also had red crosses on all java src files in the tess-two library), which got solved with good old clean/build.
Upvotes: 2