0 like 0 dislike
85 views
in T10 by Q&A Freshman (102 points)
I have been following the demo installation guide but it seems that the documentation is outdated since I try to call the getInstance() method of the NfcUtil class as mentioned in the guide but that method does not exist, I try to create an NfcUtil object by passing as a parameter the context but then they get the following error which seems to be because the com.common.service package does not exist, could you please send me either an updated guide or an updated sdk? By the way, I'm trying to use the NFC module.
this is the error:

android.content.pm.PackageManager$NameNotFoundException: Application package com.common.service not found
at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2525)
at android.app.ContextImpl.createPackageContext(ContextImpl.java:2490)
at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:1000)
at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:1000)
at com.common.apiutil.nfc.NfcUtil.<init>(NfcUtil.java:35)
at io.ionic.starter.NfcReaderPlugin.load(NfcReaderPlugin.java:51)

Please log in or register to answer this question.

1 Answer

0 like 0 dislike
by Q&A Engineer (5.2k points)
Hello, the T10 device can ignore this message, which does not affect the function implementation. If you want to use the NFC function, you need to initialize the SDK first(SDKUtil.getInstance(this).initSDK()), and then initialize NFC

Related questions

0 like 0 dislike
1 answer 821 views
0 like 0 dislike
1 answer 511 views
asked in M8 by cugwuh Q&A Freshman (104 points)
0 like 0 dislike
1 answer 84 views
asked in T10 by ishan.zuaim Q&A Freshman (122 points)
0 like 0 dislike
1 answer 85 views
asked in T20 by Ashtechgroup Q&A Freshman (102 points)
0 like 0 dislike
1 answer 139 views
asked in P8 by bill123 Q&A Freshman (102 points)
0 like 0 dislike
1 answer 166 views
asked in T10 by ishan.zuaim Q&A Freshman (122 points)
0 like 0 dislike
1 answer 241 views
0 like 0 dislike
1 answer 289 views
asked in T10 by ishan.zuaim Q&A Freshman (122 points)
0 like 0 dislike
1 answer 247 views
asked in T10 by eicke Q&A Freshman (102 points)
Welcome to Telpo Q&A,

If you have a technical question ,please ask here, in English.

If you have faulty devices need be repaired,please create a issue ticket.

Please inquiry your ticket.

Notice :If you have an urgent question or cannot register account of Q&A, you can contact the online support in below jivochat .

Categories

...