Welcome!

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

Reply
Developer
Posts: 242
Registered: ‎02-19-2013
My Device: 9500
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.

Developer
Posts: 16,495
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

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

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".