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

Native Development

Reply
Contributor
vidueirof
Posts: 25
Registered: ‎04-08-2011
My Device: Torch 9800
My Carrier: Movistar

Takes too much time to launch app for debug

Hello, I'm trying to debug a game on playbook but it's takes too much time to deploy and start running. At least 5 min.

I'm using NDK 2.1, and I try with simulator and a real device, always the same result.

The size of the bar file is around 70mb.

 

Eclipse said "Launching: Configuring GDB"

 

On device I'm debugging through USB, with Wifi off (I read this in another post).

 

Thanks

Please use plain text.
BlackBerry Development Advisor (Retired)
rmadhavan
Posts: 29
Registered: ‎03-19-2012
My Device: Z10
My Carrier: BELL

Re: Takes too much time to launch app for debug

The first time you deploy the debug version of your game would be the longest and usually depends on the size of your application and assets. Subsequent deploys shouldnt take much time unless you are making many changes to game and/or the assets of your game. In any case, make sure the following option is turned on:

 

"Run Configurations" -> current Run Configuration -> Upload Tab -> Deployment (Only upload files that have changed and delete old files from the target"

 

hope it helps,

 

Ra,

Please use plain text.