Forum / MIFARE SDK / Mifare SDK 1.7 not working on Android 10 (Nokia model)
-
Hi,
I am facing the same issue with Nokia model(details given below), the new SDK v1.7 failed with following error,
DEVICE MODEL USED
Model: Nokia 7.1
Manufacturer: HMD Global
Brand: Nokia
Hardware: Qualcomm
Total RAM: 3.9 GB
Android Version: 10
API Level: 29
Bootloader: unknown
Build number: 00WW_4_15C_SP03
Kernel Version: 4.4.192-perf+
Root Access: No
ERROR 1:
--------- beginning of crash
2020-09-21 13:30:14.108 23232-23272/com.example.desfiresdklogic E/AndroidRuntime: FATAL EXCEPTION: Thread-3
Process: com.example.desfiresdklogic, PID: 23232
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/params/BasicHttpParams;
at com.nxp.nfclib.ι$iF$1.run(:752)
Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.params.BasicHttpParams" on path: DexPathList[[zip file "/data/app/com.example.desfiresdklogic-sTWWPqDd4k22pJXDrENCWQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.desfiresdklogic-sTWWPqDd4k22pJXDrENCWQ==/lib/arm64, /system/lib64, /system/product/lib64]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:196)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at com.nxp.nfclib.ι$iF$1.run(:752
My gradle settings as per the document is
implementation 'com.google.firebase:firebase-core:17.2.2'
FIX 1
I fixed above error adding
in Manifest file.
ERROR 2
Now build error is seen,
uses or overrides a deprecated API.
Duplicate class com.google.android.gms.internal.measurement.zza found in modules jetified-play-services-analytics-impl-15.0.2-runtime.jar (com.google.android.gms:play-services-analytics-impl:15.0.2) and jetified-play-services-measurement-base-17.2.2-runtime.jar (com.google.android.gms:play-services-measurement-base:17.2.2)
FIX 2
As per the sample code I modified the gradle settings, now its failing with error ,
My New gradle settings
implementation 'com.google.android.gms:play-services-analytics:15.0.2'
implementation 'com.google.firebase:firebase-core:15.0.2'
implementation 'com.google.firebase:firebase-messaging:15.0.2'
ERROR 3
2020-09-21 16:40:40.707 5238-5292/com.example.desfiresdklogic V/FA: Cancelling job. JobID: -1951947393
2020-09-21 16:40:40.713 5238-5292/com.example.desfiresdklogic E/FA: Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
2020-09-21 16:40:40.716 5238-5292/com.example.desfiresdklogic E/FA: Uploading is not possible. App measurement disabled
2020-09-21 16:40:40.719 5238-5292/com.example.desfiresdklogic I/FA: Tag Manager is not found and thus will not be used
2020-09-21 16:40:40.720 5238-5292/com.example.desfiresdklogic E/FA: Name must consist of letters, digits or _ (underscores). Type, name: event, Tag Operation
2020-09-21 16:40:40.721 5238-5292/com.example.desfiresdklogic E/FA: Invalid public event name. Event will not be logged (FE): Tag Operation
2020-09-21 16:40:40.734 5238-5292/com.example.desfiresdklogic V/FA: Connecting to remote service
2020-09-21 16:40:40.749 5238-5292/com.example.desfiresdklogic V/FA: Activity resumed, time: 1443769063
2020-09-21 16:40:40.762 5238-5292/com.example.desfiresdklogic D/FA: Connected to remote service
2020-09-21 16:40:40.762 5238-5292/com.example.desfiresdklogic V/FA: Processing queued up service tasks: 1
When trying to access the API "desFireEV1.getApplicationIDs()" and "desFireEV1.createApplication(APP_ID, appsettings);" its failing
Please let us know, how to proceed? It would be great if I get the resolution at earliest?
Thanks in advance.
Regards,
Anitha
+ 0 | - 0
Hi Anitha,
I will hand over the crash report to our development team.
Kind reagrds,
The TapLinx team
+ 0 | - 0
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.