Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 242
Registered: ‎02-19-2013
My Device: 9500
My Carrier: _
Accepted Solution

Error Starting Module attempts to access a secure API

I have got all three keys from blackbeery site and i successfully imported them in eclipse..

But When i start the application in device. Its displaying this "Error Starting Module attempts to access a secure API".


Can anybody suggest how to resolve this. Please help me for this. Thanks in advance.

Posts: 17,022
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Error Starting Module attempts to access a secure API

sign the application
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Contributor
Posts: 5
Registered: ‎02-21-2013
My Device: Playbook 1, Bold 9930
My Carrier: Rogers

Re: Error Starting Module attempts to access a secure API

simon_hain wrote:
sign the application

This solved my problem. My application was fully signed but today I saw this error and I was confused. Eclipse said that the files were successfully signed. The Signature window flashed briefly so I couldn't see what's wrong.



In Eclipse I clicked Blackberry (top menu) > Sign > Sign with Signature Tool. This signature window stayed open so I finally saw that my Java OS7 app was not being signed by one of three keys. I re-added the missing key in Eclipse and all is good - the Secure API error is gone.


Need to make sure that a OS5-OS7 Java app is signed by ALL three keys - "RCR", "RBB", and "RRT".