简体   繁体   English

如何解决 android futronic 指纹扫描仪演示上的错误 1450?

[英]how to solve error 1450 on android futronic fingerprint scanner demo?

Don't know if this the right place to ask this question but desperately need all the help I can get.不知道这是否适合提出这个问题,但迫切需要我能得到的所有帮助。

I have an android device with integrated Futronic fingerprint scanner.我有一个带有集成 Futronic 指纹扫描仪的 android 设备。 I have been able to communicate with the scanner and gain access to it using the usb host mode.我已经能够与扫描仪通信并使用 usb 主机模式访问它。

I have the below log on the Logcat showing am able to communicate with the scanner我在 Logcat 上有以下日志,显示能够与扫描仪通信

I/FUTRONICFTR_J: Open device: UsbDevice[mName=/dev/bus/usb/001/054,mVendorId=5265,mProductId=32,mClass=0,mSubclass=0,mProtocol=0,mManufacturerName=Futronic Technology Company Ltd.,mProductName=Futronic Fingerprint Scanner 2.0,mVersion=2.0,mSerialNumber=FS00212726,mConfigurations=[
UsbConfiguration[mId=1,mName=null,mAttributes=128,mMaxPower=75,mInterfaces=[
UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=255,mSubclass=0,mProtocol=0,mEndpoints=[
UsbEndpoint[mAddress=1,mAttributes=2,mMaxPacketSize=512,mInterval=0]
UsbEndpoint[mAddress=130,mAttributes=2,mMaxPacketSize=512,mInterval=0]]]]

But when i try to capture, i get 1450 error code coming from the.so libs.但是当我尝试捕获时,我收到来自.so 库的1450错误代码。 The error happened after calling this code in the AnsiLibSDK class在 AnsiLibSDK class 中调用此代码后发生错误

public native boolean OpenDeviceCtx(final Object object);

While I have all the.so files in my jinLib folder虽然我的 jinLib 文件夹中有所有的.so 文件

The Shared Libraries .so files need access to the storage.共享库.so文件需要访问存储。 Storage Permission must be granted to the app for it to work.必须向应用授予存储权限才能使其工作。

Granted Permission and the error goes away!授予权限,错误消失!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM