Community

How to use Abbyy RTR SDK in Eclipse? Answered

Hello.

I want to use Abbyy RTR SDK in my Android application written in Eclipse. I don't know how to include .aar file in my project.

The only sample is for Android Studio. Is there tutorial how build app with SDK in Eclipse or sample for this IDE?

Was this article helpful?

0 out of 0 found this helpful

Comments

1 comment

  • Avatar
    Oksana Serdyuk

    Hi,

    Thank you for your interest in our new product - Real-Time Recognition SDK!

    And sorry for long silence, we needed to consult with the developers.

    Unfortunately, there is no way just to import a project from Android Studio to Eclipse, so you will have to create a new empty project and manually copy the code. To build your application in Eclipse you need to include the '.so' library file and the JAR file which contains the Java classes to your project. To get these two files you need to unzip the abbyy-rtr-sdk-1.0.aar file:

    • you will find libabbyy-rtr-sdk.so in the jni\armeabi-v7a folder,
    • the classes.jar file should be renamed, e.g. to abbyy-rtr-sdk-1.0.jar.

    All these files you should add to your Eclipse project in the followings order, for example:

    libs:
        armeabi-v7a:
            libabbyy-rtr-sdk.so
        abbyy-rtr-sdk-1.0.jar
    

    Hope this information will be helpful!

    1

Please sign in to leave a comment.