Caused by: java.lang.NoSuchMethodError: No virtual method addDataListener(Lcom/zebra/rfid/api3/IRFID


09/11 14:28:11: Launching app
$ adb install-multiple -r -t -p com.rfid.demo E:\AndroidProject\Demo\app\build\intermediates\split-apk\debug\slices\slice_8.apk 
Split APKs installed in 1 s 445 ms
$ adb shell am start -n "com.rfid.demo/com.rfid.demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Client not ready yet..Waiting for process to come online
Waiting for process to come online
Connected to process 8408 on device zebra_technologies-mc33-180155230E5030
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
V/BoostFramework: mAcquireFunc method = public int com.qualcomm.qti.Performance.perfLockAcquire(int,int[])
V/BoostFramework: mReleaseFunc method = public int com.qualcomm.qti.Performance.perfLockRelease()
    mAcquireTouchFunc method = public int com.qualcomm.qti.Performance.perfLockAcquireTouch(android.view.MotionEvent,android.util.DisplayMetrics,int,int[])
    mIOPStart method = public int com.qualcomm.qti.Performance.perfIOPrefetchStart(int,java.lang.String)
    mIOPStop method = public int com.qualcomm.qti.Performance.perfIOPrefetchStop()
V/BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@66d3807
D/debug1: MainActivity的onPause()方法
D/RFID_SAMPLE: InitSDK
D/RFID_SAMPLE: CreateInstanceTask
D/RFIDAPI3: SDK Version:2.0.1.19
I/RfidServiceManager: Constructor of RfidServiceManager
D/RFIDAPI3: bindtoService
E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
    Process: com.rfid.demo, PID: 8408
    java.lang.RuntimeException: An error occurred while executing doInBackground()
        at android.os.AsyncTask$3.done(AsyncTask.java:325)
        at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
        at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
        at java.util.concurrent.FutureTask.run(FutureTask.java:242)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
        at java.lang.Thread.run(Thread.java:761)
     Caused by: java.lang.NoSuchMethodError: No virtual method addDataListener(Lcom/zebra/rfid/api3/IRFIDDeviceDataCallBack;)V in class Lcom/zebra/rfid/RfidServiceMgr; or its super classes (declaration of 'com.zebra.rfid.RfidServiceMgr' appears in /system/framework/framework.jar:classes2.dex)
        at com.zebra.rfid.api3.m.e(SourceFile:249)
        at com.zebra.rfid.api3.m.c(SourceFile:305)
        at com.zebra.rfid.api3.dd.c(SourceFile:73)
        at com.zebra.rfid.api3.n.c(SourceFile:76)
        at com.zebra.rfid.api3.Readers.a(SourceFile:225)
        at com.zebra.rfid.api3.Readers.GetAvailableRFIDReaderList(SourceFile:123)
        at com.rfid.demo.query.RFIDHandlerQuery$CreateInstanceTask.doInBackground(RFIDHandlerQuery.java:176)
        at com.rfid.demo.query.RFIDHandlerQuery$CreateInstanceTask.doInBackground(RFIDHandlerQuery.java:168)
        at android.os.AsyncTask$2.call(AsyncTask.java:305)
        at java.util.concurrent.FutureTask.run(FutureTask.java:237)
        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) 
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) 
        at java.lang.Thread.run(Thread.java:761) 
D/RFIDAPI3: unbindService
D/RFIDAPI3: Dispose
D/debug1: MainActivity的onStop()方法
D/debug1: MainActivity的onDestroy()方法

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

试行

祝您生活愉快!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值