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

Adobe AIR Development

Reply
New Contributor
Posts: 2
Registered: ‎10-25-2010
My Device: Not Specified

Using command line to deploy application

I am getting this error on using blackberry-airpackager to install the app.

 

Error: Cannot connect to target: Connection timed out: connect

 

 

===Commandline out put===

C:\NotShowingThis\>blackberry-airpackager -package HelloWorld.bar -installApp -launchApp ..\src\HelloWorld-app.xml ..\src\HelloWorld.swf -device 192.168.33.129
Using default icon: C:\NotShowingThis\icons\blackberry-tablet
-default-icon.png
The bar manifest file is valid.
Package created: HelloWorld.bar
Error: Cannot connect to target: Connection timed out: connect

Regular Contributor
Posts: 86
Registered: ‎10-25-2010
My Device: Not Specified

Re: Using command line to deploy application

From the command line when you type "ping 192.168.33.129" does it give you any replies. Basically you need to check that you can connect to your VM. If you are on VPN that causes NAT problems. I also us the VM's network in bridge mode to make it work.

blog: http://renaun.com
twitter: @renaun
Highlighted
Developer
Posts: 85
Registered: ‎10-25-2010
My Device: Not Specified

Re: Using command line to deploy application

renaun is right, this is the message you get when the packager can't contact the simulator. Double-check the IP adress of the simulator and as renaun said, you need to ping the simulator somehow to make it work

 

Fabien

Hope this helps,
Fabien

--
1. If you liked my post or found it useful please click on the white star and provide a Kudo!
2. If my post solved your problem please click on the Accept as Solution button. Much appreciated!