0
votes

I'm getting this strange problem I can't seem to find a soluition of. I have included net_rim_bb_qm_platform.jar in my project with the help of the following method:

  1. In Eclipse, open the BlackBerry Application Development perspective.
  2. Click File > New > BlackBerry Project.
  3. In the New BlackBerry Project dialog box, in the Project Name field, type a name for your project.
  4. In the JRE section, make sure you select a BlackBerry JRE that is version 5.0 or later, and click Finish.
  5. In the Package Explorer view, right-click the project and click Properties.
  6. In the Properties dialog box, in the left pane, click Java Build Path.
  7. Click the Libraries tab.
  8. Click the Add External JARs button.
  9. Navigate to the folder where you extracted the BlackBerry Messenger SDK file,. In the BBM SDK folder, doubleclick net_rim_bb_qm_platform.jar.
  10. Click Next.
  11. In the properties window, click OK.
  12. When you are ready to build your project, on the Project menu, click BlackBerry > Package All.

But this method creates a tempXXXXX folder everytime I sign my app and there appears an Error (X) mark on the project folder. And the console says:

Error!: Error: preverifier failed: C:\Eclipse\plugins\net.rim.ejde.componentpack7.1.0_7.1.0.10\components\bin\preverify.exe -d C:\Users\ ... Packaging project MyBBMApp failed (took 1.285 seconds)

Any help would be greatly appreciated. Thanks.

1

1 Answers

0
votes

Your subject says you have problems signing the file. In order to sign the file, make sure you have the three signing files available on your system (RBB, RCR and RRT). In order to sign an app, the files first need to be included:

BlackBerry (located at the top) -> Sign -> Install New Keys

Once the keys are included in your project, sign your app:

Right Click project -> BlackBerry -> Sign with Signation Tool. It will prompt for a password which is what you created when getting your keys.

Once the app is signed, package your project:

Right Click project -> BlackBerry -> Package Project

Make sure your app has no compilation errors in order for the app to package successfully.