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

Please use plain text.
Developer
simon_hain
Posts: 15,863
Registered: ‎07-29-2008
My Device: Z10 LE
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
Please use plain text.
New Contributor
quadcomm
Posts: 4
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". 

Please use plain text.