androidsmartcardsim-cardopen-mobile-apisecure-element

App installation fails due to missing Open Mobile API shared library


I'm developing an app that uses Open Mobile API. I added this line to my manifest:

<uses-library android:name="org.simalliance.openmobileapi" android:required="true"/>

When I remove this line of code, it installs ok. But the app is not working properly. But if I add that line, I get the error

install_failed_missing_shared_library

Is this because the API is not compatible with my device? I'm using a Famoco device.

Any workarounds on this one?


Solution

  • This error indicates that the Open Mobile API is not available on your device. If the Open Mobile API is not required for your application to work (e.g. if your app also does other things that do not rely on accessing a secure element through OMAPI), you might want to consider setting the attribute android:required to false:

    <uses-library android:name="org.simalliance.openmobileapi" android:required="false" />