Claire @MyScript

In order to better answer you, could you please let us know if you use Eclipse or Android Studio?Best regards

A

Abhinay Aruva

said
about 3 years ago

Hi Cate,

Thanks for the reply.I am using Android Studio.

ThanksAbhinay

C

Claire @MyScript

said
about 3 years ago

Thanks for that information, do you use gradle build? At present we don't have a detailed guide to add atk 1.3 sample into an already existing project, but the video https://devportal-video.s3.amazonaws.com/tutorials/tuto1%C2%A75.mp4 'Use ATK 1.3 with Android Studio' may help you.Anyway, you will need to add the following modules in your project:- styluscore - sdk - itc-sample- itc- inw- atk-samples-certificates

Depending on your build setting, you will have to add the corresponding JAR file as explained in the documentation. We will try to add more documentation as soon as possible.Best regards

A

Abhinay Aruva

said
about 3 years ago

Hi,

Thanks for the reply. I have followed all the steps as in the video tutorial and then imported below mentioned modules to my project. I have created Recognizer Class similar to MainViewController which will be called from my App activity class.– styluscore– sdk– itc-sample– itc– inw– atk-samples-certificates

I am able to create MyScript objects from App class java files after importing the classes. When i run the code i am getting below error during run timejava.lang.NoClassDefFoundError: com.myscript.atk.styluscore.RuntimeEngineListener

Abhinay Aruva

said
about 3 years ago

Hi,

Can you please help with me with above issue.

ThanksAbhinay

A

Abhinay Aruva

said
about 3 years ago

Hi,

I found the mistake. When i imported the itc-sample into my existing android project all the dependency modules sdk, itc etc were automatically loaded. But the styluscorelib loaded without the jar file.

Hence i was unable to access its functions. I loaded the Jar library in into stylusCoreLib and it started working.

I am still facing issues with the new Class i have written and trying to debug. I will post here if i still face any issues with the library.

ThanksAbhinay

C

Claire @MyScript

said
about 3 years ago

Thanks for your feedback, we are currently doing more tests to better explain the best way to import only ITC in existing gradle project.We will update this topic as soon as possible.Best regards.