issue not supporting Samsung S5 and other devices 5.4.2 is a card recognition SDK used by PayPal which allows you to easily scan your own credit/debit cards and get information about them in the code.


Using from the source and not from Maven requires you to have the latest Android NDK with which the project will be built. But compiling it with the latest NDK introduces a bug which prevents the library from supporting several phones like Samsung S5, Honor 7 and others.


The solution is to manually download the NDK 11c and use it to compile the library.


  • Check the NDK revisions HERE
  • Copy the download link from HERE
  • Replace the name of the version in the download link – NDK 11c Linux_x64 link HERE
  • Open your SDK folder and replace the content of the ndk-bundle folder with the one you downloaded
  • Build your project in the Android Studio. No need to restart.

For verification open the SDK Manager -> SDK Tools page and see the version of the NDK there. should work on most phones after building it with NDK 11c.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s