registration failed error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

registration failed error

881 Views
wfzwfz
Contributor I
I use the TapLinx Java SDK , and develop my application based on the app sample.
I registered my app and download the license from developer center and put it in my app.
Then I run the code DESFireFactory
.getInstance() But there's an error shows
"com.nxp.nfclib.exceptions.NxpNfcLibException: TapLinX registration failed after Free Trial. Provide Valid License Key"
"at desfire@3.1.0-RELEASE/com.nxp.nfclib.desfire.DESFireFactory.getInstance(Unknown Source)"
But I don't know why. So how to solve it and continue to develop my app?
Labels (2)
0 Kudos
Reply
5 Replies

814 Views
ukcas
NXP Employee
NXP Employee

Dear wfzwfz,

As can be seen from your post, you did follow "Starting development with TapLinx Java SDK". Double check your registration API call if key data payload is put in the right order and in the right format. Grant your application the access to internet for at least one time, that app is registered.

Best regards,

TapLinx team

0 Kudos
Reply

799 Views
wfzwfz
Contributor I

wfzwfz_0-1726624539188.png

This is my console log. It seems to try using offline license but failed .Because I don't have a offline key. I can't see any other information about registration ...So any idea for that?

0 Kudos
Reply

677 Views
ukcas
NXP Employee
NXP Employee

Dear wfzwfz,

 

Did you provide generated key value (from inspire portal) in your API call:

// Register with a "online" license string (xxx)
m_libInstance.registerActivity( this, "xxx" );

 

so instead of xxx, there shall be your key value generated on Inspire portal.

Best regards,

TapLinx team

0 Kudos
Reply

667 Views
wfzwfz
Contributor I

wfzwfz_0-1727775693370.png

The sample application seems to get the key from InspireJavaLicense.txt file in the project.There isn't a way like 

m_libInstance.registerActivity( this, "xxx" );

to input the key.I have download the InspireJavaLicense.txt from development center and put it into my project ,but the register action still failed.

0 Kudos
Reply

542 Views
ukcas
NXP Employee
NXP Employee

Dear wfzwfz,

 

Please open a support ticket on nxp.com and provide as much info as possible (e.g. what registration you would like to perform - offline, online - hard coded in code or sourcing from external file, registered package name of your app).

https://support.nxp.com/s/?language=en_US

Best regards,

TapLinx team

0 Kudos
Reply