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

Testing and Deployment

Reply
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile
Accepted Solution

500 cannot determine Package-Id

I exported my cascade project in BlackBerry 10.0.9 beta3 SDK. It's OK when I install and run it on my dev alpha, but when others install my bar file with DDPBinstaller, error" 500 cannot determine Package-Id" occurs

My package ID is like "com.example.TestGPS"

How to solve this ?

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: 500 cannot determine Package-Id

you distribute your bar file as signed bar or with debug token ?
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

Re: 500 cannot determine Package-Id

I exported .bar in the following steps:

  • In the IDE, click File - Export .
  • Expand BlackBerry Tablet OS, select Release Build, and then click Next.
  • On the Release Build page, select the project you want to export, and specify an export location for your application. If you do not specify a location, the application is exported to the project directory. Click Next.
  • On the Digital Signature tab on the Packaging Settings page, select Enable digital signature and click Finish.

    I found the bar file like "xxxx-1_0_1_1.bar" in arm\o.le-v7\ folder

I guest it is signed, right?

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: 500 cannot determine Package-Id

Open bar file with winrar or 7zip. META-INF directory shuold have 5 files (MANIFEST, AUTHOR.SF, AUTHOR.EC, RDK.SF,RDK.EC ). Also in command prompt/terminal run this to check whether bar is signed correctly:
cd NDK LOCATION
bbndk-env.bat or ./bbndk-env.sh
blackberry-signer -verify -verbose YourBarFile.bar
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

Re: 500 cannot determine Package-Id

call C:\bbndk\bbndk-env.bat
call C:\bbndk\host_10_0_9_52\win32\x86\usr\bin\blackberry-signer.bat -verify -verbose *.bar

This is the results:

       3900 Sun Oct 14 01:55:28 CST 2012 META-INF/MANIFEST.MF
        2628 Sun Oct 14 01:55:28 CST 2012 META-INF/AUTHOR.SF
         624 Sun Oct 14 01:55:28 CST 2012 META-INF/AUTHOR.EC
        2628 Sun Oct 14 01:55:26 CST 2012 META-INF/RDK.SF
         280 Sun Oct 14 01:55:26 CST 2012 META-INF/RDK.EC
sm      4425 Sun Oct 14 01:55:18 CST 2012 native/bar-descriptor.xml
sm    122014 Sun Oct 14 01:55:18 CST 2012 native/assets/images/app_icon.jpg
sm      7731 Sun Oct 14 01:55:18 CST 2012 native/assets/images/arrow.png
sm     95159 Sun Oct 14 01:55:18 CST 2012 native/assets/images/bg1_d.jpg
sm     51768 Sun Oct 14 01:55:18 CST 2012 native/assets/images/bubble.png
sm    137538 Sun Oct 14 01:55:18 CST 2012 native/assets/images/bubble_level_bg2.
png
sm    299070 Sun Oct 14 01:55:18 CST 2012 native/assets/images/compass_color_r.p
ng
sm      4226 Sun Oct 14 01:55:18 CST 2012 native/assets/main.qml
sm        16 Sun Oct 14 01:55:18 CST 2012 native/qm/TestSensor.qm
sm        23 Sun Oct 14 01:55:18 CST 2012 native/qm/TestSensor_de.qm
sm        23 Sun Oct 14 01:55:18 CST 2012 native/qm/TestSensor_en_GB.qm
sm        23 Sun Oct 14 01:55:18 CST 2012 native/qm/TestSensor_es.qm
sm        23 Sun Oct 14 01:55:18 CST 2012 native/qm/TestSensor_fr.qm
sm        23 Sun Oct 14 01:55:18 CST 2012 native/qm/TestSensor_it.qm
sm    122014 Sun Oct 14 01:55:18 CST 2012 native/app_icon.jpg
sm    886928 Sun Oct 14 01:55:18 CST 2012 native/TestSensor

  s = signature was verified
  m = entry is listed in manifest
  k = at least one certificate was found in keystore
  i = at least one certificate was found in identity scope

Info: Bar verified.

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: 500 cannot determine Package-Id

Well, your bar is OK. Something is wrong during deploying it to device. Don't use DDPBinstaller,either try with PlayBook App Manager (chrome, firefox extension) or with blackberry-deploy command tool
Developer
Posts: 322
Registered: ‎08-06-2012
My Device: Dev Alpha / Playbook / Curve 9300

Re: 500 cannot determine Package-Id

Do a search for Blackberry Graphical Aid tool - also very useful for deployment.

If it helped you, click like. Smiley Happy
Developer
Posts: 53
Registered: ‎09-19-2012
My Device: 9700
My Carrier: China mobile

Re: 500 cannot determine Package-Id

I found the cause: bar file corrupted during network transfering...

Developer
Posts: 671
Registered: ‎03-21-2012
My Device: BlackBerry PlayBook 16GB
My Carrier: Vip

Re: 500 cannot determine Package-Id

Sh*** happens Smiley Sad