简体   繁体   中英

Java android how import into project import com.zebra.sdk.comm.Connection;

I don not have idea how I can import this :

import com.zebra.sdk.comm.Connection;
import com.zebra.sdk.comm.ConnectionException;
import com.zebra.sdk.printer.discovery.DiscoveredPrinter;
import com.zebra.sdk.printer.discovery.DiscoveredPrinterUsb;
import com.zebra.sdk.printer.discovery.DiscoveryHandler;
import com.zebra.sdk.printer.discovery.UsbDiscoverer;

I compile compileSdkVersion 'Zebra Technologies Corp:EMDK APIs:26'

And I can not import this

I had the same problem and i solved it.

Check this link and click Add ZSDK_ANDROID_API.jar to my Eclipse/Android Studio Project . Follow the steps.

it works for me.

You just need to get ZSDK_ANDROID_API.jar and you can find it here

I hope it helps you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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