androidnfcopen-mobile-apisecure-element

Generates signed apk file in project that used the org.simalliance.openmobileapi.jar file


I used org.simalliance.openmobileapi.jar in my project.

When I use:

The problem occurs when i want open logical channel, this time occurred security exception:

(java.lang.SecurityException: Access Control Enforcer: no APDU access allowed!)


Solution

  • This error occur on sign apk due to Pro guard . Add Pro guard rule for org.simalliance.openmobileapi.jar. or make minifyEnabled false on build.gradle file.