JNI crash after Square Reader SDK update

42 Views Asked by At

For a long time I've been running the Square Reader SDK (1.5.5) on a device with Android 7. Then had to update the SDK to 1.7.4 and changed the device with Android 9.

The following crash occurs after updating the SDK

JNI DETECTED ERROR IN APPLICATION: JNI FindClass called with pending exception java.lang.NoSuchMethodError: no non-static method "Lcom/squareup/cardreader/CardInfo;.<init>(ILjava/lang/String;Ljava/lang/String;Lcom/squareup/cardreader/EmvApplication;II)V"

An interesting thing is that the app actually loads, but 3-4 seconds after that crashes with the error from above.

Info about the app:

  • Obfuscation is disabled

  • compiledSdkVersion = 32

  • minSdkVersion = 24

  • targetSdkVersion = 31

I went through the Square documentation for integrating their Reader SDK without any success.

0

There are 0 best solutions below