Reply To: Error in registerActivity

Forum MIFARE SDK Error in registerActivity Reply To: Error in registerActivity

Re: Error in registerActivity

2. March 2016 at 9:44

C C
Hi,

The sample app can work. I'm building my own app according to the sample app. The difference is that my app is a system app on Android. The error below shows that NxpLogUtils is trying to access external storage. I'm wondering what it tries to log to external storage? It seems that a system app cannot write to external storage. Can I forbid it from logging to external storage? Thanks.

F/Environment( 732): Static storage paths aren't available from AID_SYSTEM
F/Environment( 732): java.lang.Throwable
F/Environment( 732): at android.os.Environment.throwIfSystem(Environment.java:637)
F/Environment( 732): at android.os.Environment.getExternalStorageDirectory(Environment.java:316)
F/Environment( 732): at com.nxp.nfclib.utils.NxpLogUtils.(:68)
F/Environment( 732): at com.nxp.nfclib.NxpNfcLib.registerActivity(:1408)
F/Environment( 732): at com.android.settings.CryptKeeper.initializeLib(CryptKeeper.java:631)
F/Environment( 732): at com.android.settings.CryptKeeper.onCreate(CryptKeeper.java:434)

+ 0  |  - 0