Module ZSDK_API not found on BlackBerry

Article ID: 18113771

Details


 

Topic or Information

This solution is useful for:

  • ZebraLink SDK For BlackBerry
  • BlackBerry
  • Exporting BlackBerry projects using Eclipse

 

Applies To

ZebraLink SDK for BlackBerry

Excludes: 2824 Series, 2844 Series, S4M (E53 Firmware Version), 888 DD/TT Series, MZ Series, ZQ110, EM220, EM220II, All Kiosk (except KR403)

Details

When using the ZebraLink SDK with BlackBerry applications, you may encounter an error stating 'Module ZSDK_API not found' when attempting to start the application on your device or inside your BlackBerry emulator.  The straightforward error implies that ZSDK_Api.jar, the library containing all of the ZSDK functions, cannot be found on the device.  This error can occur even if you have added the .jar file to the project.  You can resolve the issue by making sure the included .jar file is exported with the rest of the project during the build process.  This can generally be modified in the Java Build Path screen of the project settings.  For example, in Eclipse you can follow these steps:
 

  • Right click on the BlackBerry project in the Package Explorer
  • Choose 'Build Path' > 'Configure Build Path'
  • Choose the 'Order and Export' tab
  • Check the box containing ZSDK_API.jar