droid.bb.dev
droid.bb.dev

Reputation: 13

"attempts to access secure API" error in Blackberry

When I install an .alx file on my Blackberry 9530, I get an error "attempts to access secure API" However, I already signed this application successfully.

Upvotes: 1

Views: 3942

Answers (3)

Steven Collins
Steven Collins

Reputation: 71

I also had this very frustrating problem.

Make sure that you are compiling your project with the same JRE that is in use on your device. I was using JRE 7.1.0 and didn't have any problems with most projects, but some would give the "attempts to access secure API" error on my 5.0.0 device. Compiling for 5.0.0 solved the problem.

To change which JRE you're using in your project, right-click "JRE System Library" in your project, and select Properties. Select your desired JRE from the dropdown menu. If the required JRE isn't installed, follow the directions on the BlackBerry site (listed below) to download it.

It looks like the package wouldn't get signed by RRT in 7.1.0, but does in 5.0.0.

I found the solution here, and you can find instructions to download more JREs here.

Upvotes: 2

jan
jan

Reputation: 11

Can you also sign a jar /jad combination - I am Using Netbeans.

The jad loads fine in the Blackberry - and simple apps can run. The conversion to cod is a hassle - and often produces unusable .cod files.

Upvotes: 1

Mugur
Mugur

Reputation: 1029

There are 3 types of signatures that might be required: RBB, RCR, RRT. I'm not sure what each of those means but you need to use all of them. I think you might have installed only one of them and that's why the installation fails.

Upvotes: 2

Related Questions