Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
IdeasVacuum
 
Posts: 135
Joined: Tue Feb 25, 2014 1:27 pm

Deploying App - cannot Abort

by IdeasVacuum Tue Sep 12, 2017 2:44 pm

Win7 x86

The Abort button does not. Most times, the reason to abort would be when the deployment has obviously failed, but currently the only solution is to kill SB via the Task Manager.
tj1010
 
Posts: 183
Joined: Wed May 27, 2015 1:36 pm

Re: Deploying App - cannot Abort

by tj1010 Wed Sep 13, 2017 5:49 am

You probably have to end java and xcode processes too. I would guess Fred is wresting with cleanly ending the spawned processes.
User avatar
MrTAToad
 
Posts: 291
Joined: Sun Apr 20, 2014 11:43 am
Location: Chichester, England

Re: Deploying App - cannot Abort

by MrTAToad Wed Sep 13, 2017 4:52 pm

Indeed - not easy especially if these processors dont bother processing window events...
IdeasVacuum
 
Posts: 135
Joined: Tue Feb 25, 2014 1:27 pm

Re: Deploying App - cannot Abort

by IdeasVacuum Thu Sep 14, 2017 12:37 am

I have discovered that (on Windows) there is an exe that is deploying the app - it is in fact listed more than once sometimes, so via the Task Manager, 'Kill Process Family' effectively performs an Abort and SB remains on screen. The Abort Button does work before the deployment part of the process has started, takes a few seconds to clean up.

If it's any help to anyone, I have so far found 3 triggers for deployment failure, Windows to Android:

1) The target device has been 'lost' by the Host PC (or maybe you forgot connect it!)
2) The target device limits the number of times the same debug app can be loaded (If this happens, just change the app version number)
3) Create App Details Modified. I found that in this case it is best to close the Create App Window, Save the Main Source File, then return to Create App.

It is probably a good idea to delete the app from the device before deploying again because your Anti Virus might object to it being overwritten.
tj1010
 
Posts: 183
Joined: Wed May 27, 2015 1:36 pm

Re: Deploying App - cannot Abort

by tj1010 Sun Sep 17, 2017 9:51 am

The best way to clean up tasks on Windows is wildcards. Like taskkill /f /im *java*
IdeasVacuum
 
Posts: 135
Joined: Tue Feb 25, 2014 1:27 pm

Re: Deploying App - cannot Abort

by IdeasVacuum Sun Sep 17, 2017 3:28 pm

tj1010:
The best way to clean up tasks on Windows is wildcards. Like taskkill /f /im *java*


I don't see that as the best way, I see that as the most dangerous way! :mrgreen:
Fred
Site Admin
 
Posts: 1013
Joined: Mon Feb 24, 2014 10:51 am

Re: Deploying App - cannot Abort

by Fred Tue Oct 10, 2017 9:30 am

Yes, aborting cordova once launched seems a bit tricky to me for now..
Return to Feature Requests and Wishlists

Who is online

Users browsing this forum: No registered users and 1 guest