Application Doesn't Match the Package

A typical scenario is when you modify one of the mobile application projects in a multipackage device application (a multimoblie application project), and redeploy using "Replace" mode. Sometimes one mobile application project is missing, resulting in the error message Application doesn't match the package.

Explanation: This message indicates the device application is accessing an Mobile Business Object (MBO) package that is currently not assigned to its application ID.

Solution: Make sure the MBO packages accessed by the application are assigned to the application ID. You can fix the problem using Sybase Control Center, or Unwired WorkSpace:

  1. Add the missing application using either application:
    • From Sybase Control Center, navigate to the Applications node, and use the Properties button to add the MBO package.
    • From Unwired WorkSpace, open the Properties dialog in the MBO Package Eclipse project, access the Mobile Application Project page, and add the applicationid to the list of applications.
  2. Redeploy the application.