iink SDK on Device

java.lang.IllegalArgumentException: invalid certificate

my User id:diandian180217@gmail.com,

It was confirmed that the sampled app works well.Afterwards, when applied to an actual project, the following certificate error appears.

What should I do?

problem: java.lang.IllegalArgumentException: invalid certificate

                                                                                                     at com.myscript.iink.NativeFunctions.createEngine(Native Method)

                                                                                                     at com.myscript.iink.Engine.<init>(Engine.java:20)

                                                                                                     at com.myscript.iink.Engine.create(Engine.java:40)

image

image



1 Comment

Hello,


Thank you for contacting us.

This error is most likely due to a mismatch between your application ID and the application ID of your certificate.

Please refer to https://developer.myscript.com/support/account/on-device-license-management#on-device-dashboard that describes how to generate a certificate for your own application.

When creating a certificate on Android, enter the application ID that is defined with the applicationId property in your build.gradle file.


Best regards,


Gwenaëlle         

Login or Signup to post a comment