Verifying offline TapLinx fails

Forum / MIFARE SDK / Verifying offline TapLinx fails

  • 21. May 2019 at 12:51
    I'm trying to get TapLinx to work. I followed the instructions for offline mode in 'AN11876 Starting Development with TapLinx SDK'.
    I included the AAR library.

    These are my dependencies in my build.gradle:

    dependencies {
    implementation fileTree(include: ['*.jar'], dir: 'libs')
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'com.android.support.test:runner:1.0.2'
    androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
    implementation project(path: ':nxpnfcandroidlib-1.6')
    }


    I do this to initialize the library (I redacted the keys for security purposes)


    // This function initializes the NXP NFC library
    public boolean initNxpNfc()
    {
    boolean bResult = false;

    try
    {
    // Do we have the NXP NFC library?
    if((m_libNxpNfc = NxpNfcLib.getInstance()) != null)
    {
    final String strPackageKey = "67c1ba37################d8dbd55a";
    final String strOfflineKey = "bEQ8607x########################################################################ZAOwUw==";

    // Register our activity
    m_libNxpNfc.registerActivity(this, strPackageKey, strOfflineKey);

    bResult = true;
    }
    }
    catch(NxpNfcLibException e) { System.out.println(e.getMessage()); }
    catch(Exception e) { System.out.println(e.getMessage()); }

    return bResult;
    }



    This is what I get:

    W/art: Verification of void com.nxp.nfclib.analytics.AnalyticsTracker.ˏ(android.content.Context) took 169.215ms
    W/art: Verification of void com.nxp.nfclib.analytics.AnalyticsTracker.sendEvent(java.lang.String) took 141.909ms
    W/art: Failed to open zip archive '/system/framework/com.qti.location.sdk.jar': I/O Error
    I/System.out: Thread-1924(ApacheHTTPLog):Reading from variable values from setDefaultValuesToVariables
    I/System.out: Thread-1924(ApacheHTTPLog):isSBSettingEnabled false
    I/System.out: Thread-1924(ApacheHTTPLog):isShipBuild true
    I/System.out: Thread-1924(ApacheHTTPLog):getDebugLevel 0x4f4c
    I/System.out: Thread-1924(ApacheHTTPLog):Smart Bonding Setting is false
    I/System.out: Thread-1924(ApacheHTTPLog):SmartBonding Setting is false, SHIP_BUILD is true, log to file is false, DBG is false, DEBUG_LEVEL (1-LOW, 2-MID, 3-HIGH) is 1
    I/System.out: Thread-1924 calls detatch()
    E/LICENSE_VERIFIER: Storing Failure Count: 0


    Does it have to do with the Failed to open zip archive '/system/framework/com.qti.location.sdk.jar': I/O Error error?

    Please help. I'm a bit at a loss now.
    + 0  |  - 0
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.