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
Developer
Posts: 121
Registered: ‎02-08-2013
My Device: 9900
My Carrier: verizon

Failed to attach error

I can't load my app onto my device all of a sudden and after extensive tests like recreating the app and copying in the assets, src files, etc and uninstalling/reinstalling ndk I still get the error but only for one app - all other apps are fine.

 

I just get a popup telling me

 

Error in final launch sequence
Failed to execute MI command:
attach 16175309
Error message from debugger back end:
Failed to attach
Failed to attach

 

But I can export release build and side load the application fine.

 

What could be the problem - lost a day on this now Smiley Sad

 

Thanks

john

 

Developer
Posts: 121
Registered: ‎02-08-2013
My Device: 9900
My Carrier: verizon

Re: Failed to attach error

Well and truly in trouble here guys, I have an application that is doing well in BB World but there is still work to be done  to enhance it and now since Monday it will error when loaded onto the device giving me no way to debug the app or even view the console so i can't do anymore work on it really.

 

Failed to execute MI command:
attach 16175309
Error message from debugger back end:

 

Is the error shown in momentics when it has loaded onto the device.

 

I have created a new app with the same name and pasted in the src files, assets, .pro and bar descriptor files many times, but it still shows the same error.

 

I have uninstalled ndk and reinstalled many times  - I have tried different versions of sdk.

 

Other apps are working fine.

 

This happens when trying to load with wifi or usb.

 

What can i do?

Highlighted
Developer
Posts: 21
Registered: ‎06-15-2012
My Device: 9900
My Carrier: TX

Re: Failed to attach error

Me 2
Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Failed to attach error

Debugger cannot attach to the process (your app) that is running on your device. Have you tried rebooting your device?

Developer
Posts: 121
Registered: ‎02-08-2013
My Device: 9900
My Carrier: verizon

Re: Failed to attach error

tried restarting device, pc, ndk many times but just won't load.

 

I think its since I uninstalled and then downloaded and installed the latest 10.1 ndk. The Z10 I use also has 10.1. Does this for both wifi and usb.