[英]How to import zebra package in android studio?
I tried to import this packages
:我试图导入这个
packages
:
import com.zebra.sdk.comm.ConnectionException;
import com.zebra.sdk.printer.discovery.BluetoothDiscoverer;
import com.zebra.sdk.printer.discovery.DiscoveredPrinter;
import com.zebra.sdk.printer.discovery.DiscoveredPrinterBluetooth;
import com.zebra.sdk.printer.discovery.DiscoveryHandler;
But gives me an error
that it cannot find them.但是给了我一个
error
,它找不到它们。 Any help please?请问有什么帮助吗? Thanks in advance!
提前致谢!
you need to add dependency of zebra sdk follow below steps您需要按照以下步骤添加 zebra sdk 的依赖项
implementation files('libs/ZSDK_ANDROID_API.jar')
Hint: Main source https://github.com/luisamilcarr/zebra_zq510提示:主要来源https://github.com/luisamilcarr/zebra_zq510
download official library documentation下载官方库文档
ZEBRA > LINK-OS MULTIPLATFORM SDK DOWNLOADS & SUPPORT ZEBRA > LINK-OS 多平台 SDK 下载和支持
here all library for all platforms include ZSDK_ANDROID_API.jar这里所有平台的所有库都包括 ZSDK_ANDROID_API.jar
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.