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:
- In Eclipse, open the BlackBerry Application Development perspective.
- Click File > New > BlackBerry Project.
- In the New BlackBerry Project dialog box, in the Project Name field, type a name for your project.
- In the JRE section, make sure you select a BlackBerry JRE that is version 5.0 or later, and click Finish.
- In the Package Explorer view, right-click the project and click Properties.
- In the Properties dialog box, in the left pane, click Java Build Path.
- Click the Libraries tab.
- Click the Add External JARs button.
- Navigate to the folder where you extracted the BlackBerry Messenger SDK file,. In the BBM SDK folder, doubleclick net_rim_bb_qm_platform.jar.
- Click Next.
- In the properties window, click OK.
- 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.