Reputation: 191
I am trying to run android-se-access which requires Secure element access and I have to include the certificate into nfcee_access.xml
I run the command
keytool -exportcert -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android|xxd -p -|tr -d '\n'
and include them into the file. But installing the apk from eclipse onto google nexus 7 still results in a forced close.
Did I generate the cert incorrectly ?
Upvotes: 1
Views: 1867
Reputation: 2947
Another way to know if your signature is correct, is adding <debug />
tag at the same level with signatures, and you will get an hex dump of the denied application's signature in logcat, so the only thing you have to do is copy and paste it in the nfcee_access.xml
file.
Upvotes: 2
Reputation: 52936
Check logcat output, if it says something like 'denied access to package xxx', there might be a problem. If you specified the <pacakge/>
tag, make sure it's correct. You also need to restart the device after you modify nfcee_access.xml
.
BTW, I haven't tried this on N7 (maybe I should), but it should work.
Upvotes: 1