I'm trying to integrate the SDK in one of my projects. After successfully integrating the Library, I have copied the AbbyyRtrSdk.license file in the Assets folder but when I call the method
Engine.load(activity, "/src/main/assets/AbbyyRtrSdk.license")
It causes FileNotFoundException. Should the file be copied somewhere else?
Comments
5 comments
Please check your relative paths. Probably, you don't have /src/main/assets/ subdirectory in your current directory. Please try an absolute path instead.
Sorry but I don't think we can get absolute path of the assets folder. Should I write the file in external storage and then pass it's path along?
Please try so and let us know if this does not solve your issue.
Still facing the same issue. It still say file not found. Also the license file exists at the path I mentioned. Any other way to resolve this?
Please check the access rights for your application. It should have permissions to access the license file in the filesystem.
If this does not solve your issue, then please forward the request to ABBYY technical support by e-mail. The correct e-mail contact for your region is listed in "Contacts" section of ABBYY website.
Please sign in to leave a comment.