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


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(
F/Environment( 732): at android.os.Environment.getExternalStorageDirectory(
F/Environment( 732): at com.nxp.nfclib.utils.NxpLogUtils.(:68)
F/Environment( 732): at com.nxp.nfclib.NxpNfcLib.registerActivity(:1408)
F/Environment( 732): at
F/Environment( 732): at

+ 0  |  - 0