1
我必須使用UniMag Pro設備讀取刷卡上的卡片。 我下載了UniMag_SDK_v5.0.jar
。和做同樣如下鏈接:https://stackoverflow.com/a/13654279/4466607 我也試過:IDTech Unimag Swiper Android SDK錯誤
myUniMagReader.setXMLFileNameWithPath(null);
和
// filePath :/data/data/com.example.braintech.myapplication/files/idt_unimagcfg_default.xml
myUniMagReader.setXMLFileNameWithPath(filePath);
,但我得到了下面的錯誤。
on D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
10-11 13:12:56.857 10176-10176/com.example.braintech.myapplication D/Atlas: Validating map...
10-11 13:12:57.151 10176-10215/com.example.braintech.myapplication I/Adreno-EGL: <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016_msm8610_LA.BF.1.1.1_RB1__release_AU()
OpenGL ES Shader Compiler Version: E031.25.03.00
Build Date: 02/11/15 Wed
Local Branch:
Remote Branch: quic/LA.BF.1.1.1_rb1.10
Local Patches: NONE
Reconstruct Branch: AU_LINUX_ANDROID_LA.BF.1.1.1_RB1.05.00.02.042.016 + 62ca4eb + acd831d + 9f8b442 + e027a02 + cba30ba + 53c303a + a649d79 + 23e16f8 + 5e97da7 + cbd2a44 + 33d072a + 7aacf06 + 72b33e7 + 28f6f60 + b4c13d8 + NOTHING
10-11 13:12:57.166 10176-10215/com.example.braintech.myapplication I/OpenGLRenderer: Initialized EGL, version 1.4
10-11 13:12:57.199 10176-10215/com.example.braintech.myapplication D/OpenGLRenderer: Enabling debug mode 0
10-11 13:12:57.237 10176-10176/com.example.braintech.myapplication W/UMSDK: SDK: reader attached, but no config loaded
10-11 13:13:04.911 10176-10453/com.example.braintech.myapplication D/MainActivity: FilePath :/data/data/com.example.braintech.myapplication/files/idt_unimagcfg_default.xml
10-11 13:13:05.002 10176-10186/com.example.braintech.myapplication W/art: Suspending all threads took: 10.908ms
10-11 13:13:05.391 10176-10453/com.example.braintech.myapplication D/UniMag: getUserGrant -- Checking if user grants downloading latest XML from Server.
10-11 13:13:05.392 10176-10176/com.example.braintech.myapplication D/Background: onPostExecute
10-11 13:13:18.618 10176-10176/com.example.braintech.myapplication W/UMSDK: SDK: Task not started: SDK config not loaded
當我連接設備:我得到的錯誤日誌:
W/UMSDK: SDK: reader attached, but no config loaded
,當我開始掃描:
myUniMagReader.startSwipeCard();
,但我得到這個錯誤:
W/UMSDK: SDK: Task not started: SDK config not loaded
請幫我解決這個問題..謝謝
您是否找到解決方案? – Hetal
是的,我已經做到了。 @Hetal – Dhiru
謝謝@Dhiru 我可以修復它 – Hetal