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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
New Contributor
zhaoxiangguang
Posts: 4
Registered: ‎04-25-2011
My Carrier: BlackBerry Developer

Help!!!! "Downloading and starting the application..." has encountered a problem.

hello,

When i Run As -> BlackBerry Tablet OS C\C++ Application , alert this error :

"Downloading and starting the application..." has encountered a problem.

Unable to determine returned PID from launch.

I use the PlayBook 2.0 simulator and i have Set Active with the Simulator-Debug.

plz someone help me,

Thanks.

Please use plain text.
BlackBerry Development Advisor
rmadhavan
Posts: 28
Registered: ‎03-19-2012
My Carrier: BELL

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

Hi,

 

This is a know issue and we are currently working on it. 

Here is a possible workaround: Launch the app from the Navigator and accept permissions in the permission dialog (if any) and then close it. Restart loading from IDE.

 

I will create an issue in our issue tracker and post the link shortly so you can track its progress!

 

Thanks, Ram

 

Please use plain text.
New Contributor
zhaoxiangguang
Posts: 4
Registered: ‎04-25-2011
My Carrier: BlackBerry Developer

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

thanks , I'll try this workaround . now I'm using the device-debug .
Please use plain text.
New Developer
plungeint
Posts: 51
Registered: ‎03-10-2012
My Carrier: n/a

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

I have the same problem. Fortunately I have a device for testing...

Please use plain text.
New Developer
npross
Posts: 27
Registered: ‎02-26-2012
My Carrier: Telus

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

Here's something that has worked for me in some circumstances.

 

ssh to the sim/device (here's a guide to ssh'ing http://forums.crackberry.com/blackberry-playbook-f222/guide-ssh-your-playbook-640410/).  You need to be connected to the sim (or device) and be in developer mode. 

 

use pidin to see if your app is running (or pdebug).

slay -f pdebug

slay -f <your app>

 

sometime I have had to slay qconn and then reconnect.

 

I've noticed that my problems with the sim mostly come from suspending my laptop while in the middle of debugging.

 

Norm

Please use plain text.
Super Contributor
Meghasanghvi
Posts: 301
Registered: ‎08-10-2010

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

Hi,

 

I also face this issue when i run my application on BB10 dev Alpha device. Till yesterday evening it works fine now from morning it give this error "Unable to find PID " that error is coming. In the homescreen it dispaly error 8. I did not find any solution on that. please help me on that regard.

Please use plain text.
BlackBerry Development Advisor
rmadhavan
Posts: 28
Registered: ‎03-19-2012
My Carrier: BELL

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

Hi,

 

When you look at the error description at (<install location>/target/qnx6/usr/include/errno.h) it says

 

#define ENOEXEC          8  /* Exec format error                        */

 

Can you confirm if you are using the right NDK version (Ex. not the playbook NDK?) to deploy to the BB Dev Alpha device?

 

Ram

Please use plain text.
Contributor
apascual
Posts: 26
Registered: ‎07-23-2012
My Carrier: movistar

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

The only "solution" is reset device with BlackBerry manager, but its really annoying do that every time when this errors appear.

 

RIM should fix this bug soon because is annoying when programming

Please use plain text.
Contributor
minmax
Posts: 22
Registered: ‎09-25-2012
My Carrier: MTS

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

I also have similar problem! After first run of the app I get "unable to determine returned pid from launch" in IDE and this moment screen of device unfortunaly is black. But power button and volume buttons still works (I can see indication on screen). Looks like UI shell is crashed! The device restart or reset cant help because after this device always show only colored bubbles! Only one thing helped it's restore the device using BB Desktop Software but it's too long! And it will work only for first run after will be black screen. :smileysad: Help me please.

Please use plain text.
Developer
MikePembo951
Posts: 107
Registered: ‎02-15-2012
My Carrier: Virgin Mobile

Re: Help!!!! "Downloading and starting the application..." has encountered a problem.

indeed its very annoying.

I've posponed my app's development until this gets fixed.

 

Everyone having this problem see here:

No fix until AFTER 2.1 :smileysad:

 

http://supportforums.blackberry.com/t5/Native-Development/error-12-and-Unable-to-determine-returned-...

Please use plain text.