3

I'm trying to sign our BlackBerry app, but now it's asking for "RIMAPPSA2" signing key, which is the signing key for private APIs (which isn't allowed in the app world I assume). So I want to remove this requirement so I can actually run the app on devices.

There's nothing in the build log. My app does NOT use any of the following packages (which the internet suggests might be the issue):

  • net.rim.vm.Persistable
  • net.rim.vm.*
  • net.rim.device.api.browser.field2.*
  • net.rim.device.api.browser.field2.debug.*
  • net.rim.device.api.script.*
  • org.w3c.dom.jsp2.* <- actually is uses org.w3c.dom.*, but I've had an app not require this that already had this package in it.
  • net.rim.device.api.io.Seekable

And I'm not importing any external JARs (although I was before). I'm using the 4.5 JDE.

How can I find out what is making the signer tool require this signature?

Is there any way to track down what is causing this signature (RIMAPPSA2) to be required?

Tom Jacobs
  • 31
  • 2

2 Answers2

1

This might be due to a bug in Eclipse or RIM. You might not be using the RIMAPPSA2 classes.

OK, so its hard to believe but this page might fix the problem for some:

Basically its a bug, and by changing the Application Descriptor, saving, removing & re-adding the JAR file, the problem is fixed.

Follow-up #1 - might not work:

The above solution enabled me to build & sign the app. Unfortunately the app won't run on the phone Module 'MyApp" attempts to access a secure API.

Follow-up #2 - this worked for me:

I documented a full solution that worked for me here:

In my case, I was importing my own JAR file, and I needed to set that project's build type to be a MIDLET. Setting it as LIBRARY or APPLICATION caused problems.

Community
  • 1
  • 1
Richard Le Mesurier
  • 27,993
  • 19
  • 127
  • 242
0

I've not tried it, as I am waiting for my signing key.

If you use eclipse, you can have following settings that can be turned off.

enter image description here

Vikas
  • 22,508
  • 34
  • 110
  • 159