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?
java.lang.IllegalArgumentException: invalid certificate
at com.myscript.iink.NativeFunctions.createEngine(Native Method)
thank you for contacting us.
Currently, I could not find your account on our ATK site to check your console: atk.myscript.com
Can you please login at this link, look at your console and confirm you have the “Mismatch between certificate and application: com\.myscript\..+ != com.xxxxxxxxxx.xxxxx” error message?
If so, please re-create a proper certificate with the application ID of your application (on Android), or bundle identifier (on iOS): https://developer.myscript.com/support/account/on-device-license-management/, and replace your previous certificate with this new one. After re-build, you should be able to create the engine.
Let us know if it helps.