iink SDK on Device

Answered

Crash happen when createEngine call

 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:39)
 
  at careclues.com.emrlite.EMRApplication.getEngine (EMRApplication.java:28)
 
  at careclues.com.emrlite.AppointmentActivity.patientAddDialog (AppointmentActivity.java:959)
 
  at careclues.com.emrlite.AppointmentActivity.onClick (AppointmentActivity.java:1249)
 
  at android.view.View.performClick (View.java:7339)
 
  at android.widget.TextView.performClick (TextView.java:14222)
 
  at com.google.android.material.button.MaterialButton.performClick (MaterialButton.java:932)
 
  at android.view.View.performClickInternal (View.java:7305)
 
  at android.view.View.access$3200 (View.java:846)
 
  at android.view.View$PerformClick.run (View.java:27787)
 
  at android.os.Handler.handleCallback (Handler.java:873)
 
  at android.os.Handler.dispatchMessage (Handler.java:99)
 
  at android.os.Looper.loop (Looper.java:214)
 
  at android.app.ActivityThread.main (ActivityThread.java:7080)
 
  at java.lang.reflect.Method.invoke (Native Method)
 
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
 
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)


Best Answer

Dear Mangal,


thank you for contacting us.


Based on your logs, it seems you have the following error message: Mismatch between certificate and application.


To solve this, you should create a new application in your ATK console,  whose identifier is the package name that can be found in the  AndroidManifest.xml (https://developer.myscript.com/support/account/on-device-license-management/#applications).


Best regards,


Olivier

1 Comment

Answer

Dear Mangal,


thank you for contacting us.


Based on your logs, it seems you have the following error message: Mismatch between certificate and application.


To solve this, you should create a new application in your ATK console,  whose identifier is the package name that can be found in the  AndroidManifest.xml (https://developer.myscript.com/support/account/on-device-license-management/#applications).


Best regards,


Olivier