02-07-2012 09:12 AM
Hi,
trying to update a playbook app, I got this message:
File bundle (file.bar) has been rejected. Package ID is required for all .bar file. If this is an upgrade, Package ID must match Package ID in original file bundle.
Which indicates that I need to use the original keys to sign the app. So, I have a couple of
questions:
1) I only have the original barsigner.csk and barsigner.db but not the .p12 certificate. Can I regenerate it and how ?
2) I tried replacing the package ID inside the META-INF/MANIFEST.MF of the new .bar file with the old
package ID and didn't get the error above. Will this result in a valid app or finding the original set of keys is the only way to go ?
Thank you
02-14-2012 05:09 PM
1. You can regenerate your .p12 file without affecting your package-id. The steps to do so vary based on the developer tool you are using. Which one do you have?
2. Don't do this.
It will cause issues when you try to deploy your app. Just create a new .p12 file.
02-17-2012 11:36 AM
Hi,
I am currently developing using Blackberry Webworks SDK for Tablets version 2.2.0.5 if this is what you mean.
Can you be more specific on the steps i need to follow?
Thanx again
02-17-2012 04:28 PM
Hi there,
You can use the instructions here (Step 1) to generate a new P12 file:
Note that Ripple requires it to be called author.p12, but otherwise you should be able to call it what you like. You can skip Step 2 and Step 3.
Erik Oros
BlackBerry Development Advisor