SailfishOS SDK Bugs/Fixes/Tips
Hey guys,
I will try to to make a help thread for devs who are using Sailfish SDK. Bugs+Fixes: -Can't deploy if app is already open Quote:
Fix: Projects -> Run -> Deployment -> Add Deploy Step -> Run custom remote command Command line: Code:
killall /opt/sdk/bin/appname Code:
if [ "$(pidof appname)" != "" ]; then killall appname;fi This will kill the already open application in the emulator before deploying the new one. If you get "error: Remote process finished with exit code 1." disable the command and then re-anable it once the app is open. The error was given because it died to close an application that was never open http://i.imgur.com/UggaiQk.png http://i.imgur.com/xR39vLV.png Official channels: Sailfish Support channels page I will try to keep this updated and post new fixes and bugs. Everyone is welcome to contribute with their bugs and fixes :) |
Re: SailfishOS SDK Bugs/Fixes/Tips
Whats wrong with pressing the stop button in QtCreator when that error happens? Using stopbutton have worked for me to kill everytime.
|
Re: SailfishOS SDK Bugs/Fixes/Tips
mariusmssj: most likely you want custom step to be like:
Code:
if [ "$(pidof appname)" != "" ]; then killall appname;fi |
Re: SailfishOS SDK Bugs/Fixes/Tips
Quote:
|
All times are GMT. The time now is 07:51. |
vBulletin® Version 3.8.8