1. 1iam5mith's Avatar
    Hi, I am a developing novice, and I converted my Android app to the playbook a few months ago, but now have made an update that should make it work on both BB10 phones and playbooks, (basically just changed the splash screen and screen res and one or two bug fixes), but unfortunately I forgot my old keystore password!!!!!!!! So I contacted RIM, and was told to request new ones, it would duplicate my app, but the only solution, so I now have new keys, new passwords etc.... the .APK has successfully been converted to a .BAR using the online tools. I have just gone to submit the update, and I get this come up "File bundle (AppNameHere.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."
    What can I do?

    Thank you in advance for the help
    And happy holidays everyone
    12-19-12 05:05 PM
  2. EdY's Avatar
    I think it means the name of the filebundle must match. For example, when you upload your filebundle bar file to vendor portal, it asks you to specify filebundle name on the first column. That has to match the name of the filebundle you originally gave it before. I had a similar situation and tried to update my app but forgot what name I used for my original filebundle when I had originally uploaded it. So I keep track of this now and managed to eventually remember or trial-and-error the name I gave it, and it worked.

    That's my thought, but it could be something else.
    12-19-12 05:19 PM
  3. 1iam5mith's Avatar
    Thanks for you response, what does the file bundle have to contain? I have the .BAR in a .ZIP is the right? The .BAR name and the app name and the .ZIP name are all the same :/
    12-19-12 05:32 PM
  4. EdY's Avatar
    The BAR file is just a ZIP file, with your app files. Depending on whether it is webworks, native, adobe air, it will have different files and folders packaged in there.

    You just rename it back to BAR before you upload it to your vendor portal. More importantly, I believe once you sign your bar either when compiling or afterwards (using command -line blackberry signer utilities) you should have 5 files in the META-INF folder as follows:

    * RDK.EC
    * RDK.SF

    At least that's how it goes for Native apps.

    I don't think your problem has anything to do with signing the app. It is because when you upload your updated app, the bar filename and the filebundle name you specified in vendor portal don't match the same as when you first uploaded your app.

    For example, you could have initially used filebundle "asteroids" and specified it as a QNX version 10 minimum file, and had uploaded the file "asterbb10.bar". You update your app, then when you add it in vendor portal you need you specify again "asteroids" in the first column on the page where you upload your bar file. If that doesn't match then it may cause problems. To be safe, make sure you also use the same bar name "asterbb10.bar" just in case.

    Sent from my BlackBerry 9810 using Crackberry Tapatalk Forum app
    12-21-12 04:39 PM
  5. EdY's Avatar
    One other thing...

    Confirm that your updated BAR functions by running it on your Playbook with debug mode and debugtoken, then sign it and try it without debugtoken installed. If it still runs without being in developer mode with a debugtoken, then your app package is signed fine. It then has to do all with appworld vendor portal and how it recognizes updates to existing apps.

    If your app doesn't work on a Playbook that is normal (not debug mode) it means it is not signed properly so you have to figure out the problem there (has nothing to do with vendor portal).

    Sent from my BlackBerry 9810 using Crackberry Tapatalk Forum app
    12-21-12 04:43 PM
  6. 1iam5mith's Avatar
    Thanks for your help
    unfortunately I still haven't got this sorted
    I have all 5 in the META-INF

    Because its my android app, I converted and signed using the blackberry online tools.
    When I upload the .BAR as a .ZIP (changed the file extension) I get this:
    Invalid binary file (MANIFEST.MF4536762252970285548.MF)
    Invalid binary file (AUTHOR.SF4118683282733310903.SF)
    Invalid binary file (AUTHOR.EC5572808432002178245.EC)
    Invalid binary file (RDK.SF176994569059359206.SF)
    Invalid binary file (RDK.EC7238625669752760700.EC)
    Invalid binary file (ya.png7918581301526835697.png)
    Invalid binary file (The Mole Hole.apk4077442270708052578.apk)

    This is confusing the **** out of me lol

    Also do you think my thread is in the right place? Would I get more responce if it where somewhere else on here?

    Thanks again Merry Christmas
    12-23-12 11:30 AM
  7. neilmann's Avatar
    The problem is that you are using different signing keys for the updated version of the app. In order to update the app, you must use the same keys.

    Here is a note when changing keys:
    "(!) Warning: this action will unregister this computer, making it unable to sign applications. To continue signing applications and creating debug tokens, you will need to register again at: http://www.blackberry.com/go/codesigning After reregistering, new versions of your apps will appear as new applications, not upgrades, and will not have access to shared data from previous versions. Are you sure you wish to delete your current keys?"

    Relevant conversations:
    Update app version with new signing keys - BlackBerry Support Community Forums

    New Signing Keys - BlackBerry Support Community Forums

    Also, the official developer forums (General Support Forums - BlackBerry Support Community Forums) may be a bit more active than the CB forums for developers.
    Sith_Apprentice likes this.
    12-23-12 05:28 PM
  8. 1iam5mith's Avatar
    Thanks for your response, I have the original keys, and could probably guess what my CSK and Keystore passwords where again, but since updating to new pc, I cant use the original keys as it says I cant register them again :'(
    12-23-12 05:48 PM
  9. kdna's Avatar

    I had to write it in all caps because these points have been re-iterated thousands of times in the forums and at BlackBerry developer events.
    12-24-12 03:26 PM
  10. 1iam5mith's Avatar
    I have the original keys, both .CSJ and .P12, but just wont let me use them as on a different PC :'(
    DevSteven likes this.
    12-24-12 03:32 PM
  11. KermEd's Avatar
    You *can* use new keys to sign your app. And you can post that app in appworld --- appworld doest not care what keys you use just that it is valid.

    1) Find your current bar
    2) Find your old bar
    3) Rename both to zip
    4) Extract to separate folders.
    5) In both - open Manifest/Manifest.??? using Notepad++

    Note: if you only have manifest.??? In that folder, it didng sign correctly.

    6) Compare the old Package ID with your new one.

    I believe android ports inherit the package id direct from android. BUT you can manually change it in the manifest, repackage as a ZIP, rename to BAR and test deploy to your debugger.

    If it still fails, send me a PM. You can send me the BAR files (I need the new and old) and I can probably help ya. Sometimes the problem is in the packaging and causes a false error. There is a batch file rim provides that can validate the signing for you.



    Sent from my BlackBerry 9360 using Tapatalk
    Last edited by KermEd; 05-13-13 at 12:47 AM.
    Sith_Apprentice and DevSteven like this.
    12-29-12 06:01 AM
  12. 1iam5mith's Avatar
    Hi thanks for your help, but in the meantime I have heard back from RIM, they have cleared the package ID, and now its uploaded fine, thank you for the support and help though
    12-29-12 09:29 PM
  13. 1iam5mith's Avatar
    Thank you everyone who contributed in helpin me, the app is now under review, if anyone has a dev alpha device they would like to test it on, please let me know, I can send you a copy of the app to try, I will post when its been approved, and because I no longer have a playbook, anyone who wants to download it and give me some feedback, that would be much appreciated, thanks
    12-29-12 09:31 PM
  14. scottie23's Avatar
    Hello KermEd
    I followed your instruction but i have this error message "Some files are missing signatures This bar contains unsigned entries which have not been integrity-checked." when I upload the new version of my application
    05-03-13 02:08 PM
  15. KermEd's Avatar

    Did you modify the signed BAR? If so, you can't use win zip to pack it. If you do the folder names are treated as filenames but are unsigned. Let me reread this thread its been a while.

    Posted via CB10
    05-13-13 12:47 AM
  16. papped's Avatar
    P.S. If you have a PB OS and a BB10 file release for the same app the PB OS packager mangles the package id into something different every time...

    So one workaround (since BlackBerry Support didn't help) is to manually change the package id of your bb10 app

    Posted via CB10
    05-20-13 01:07 PM
  17. Ammar Bukhari's Avatar

    I know its a old thread. But i tried to zip and change packageid then rezip but it doesnt install on Z10. the error is some thing 880 meta-inf rdk-sf.

    can you help me. if you want i can send you the bar files old and new.
    05-22-14 02:41 AM

Similar Threads

  1. Why do different apps use different on-screen keyboards?
    By Delmeister in forum BlackBerry PlayBook
    Replies: 3
    Last Post: 10-25-12, 02:33 AM
  2. Trouble updating to BB 5.0.0 Core App
    By skibuz in forum BlackBerry OS 5 & 4.x
    Replies: 3
    Last Post: 04-03-11, 04:36 PM
  3. Dual use convenience key app?
    By Andrew600 in forum BlackBerry OS Apps
    Replies: 5
    Last Post: 01-25-10, 09:23 AM
  4. Dual use convenience key app?
    By Andrew600 in forum Storm 3rd Party Apps
    Replies: 5
    Last Post: 01-25-10, 09:23 AM
  5. Using shortcut keys for other apps?
    By Ytee in forum BlackBerry Curve 8900
    Replies: 2
    Last Post: 03-28-09, 05:12 AM
We have updated our Privacy Policy and Terms & Conditions. Please check them out.