← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1377090] Re: Overiding an app doesn't work

 

** Changed in: qtcreator-plugin-ubuntu
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtcreator-plugin-ubuntu in
Ubuntu.
https://bugs.launchpad.net/bugs/1377090

Title:
  Overiding an app doesn't work

Status in Qt Creator plugins for Ubuntu:
  Fix Released
Status in “qtcreator-plugin-ubuntu” package in Ubuntu:
  Fix Released

Bug description:
  Recently an option was provided to allow the app developer to override
  an app installed on the phone. However this doesn't work as expected.

  Steps to reproduce:
  1. Branch lp:ubuntu-clock-app
  2. Open in qcreator and try to run on device or emulator
  3. You will see the dialog "This application is already installed on the device, do you want to override it?".
  4. Press Yes.

  What happens:
  You get the following error message,
  Sdk-Launcher> Uninstalling already installed package (--force-install)
  Sdk-Launcher> Uninstalling the application failed

  What should happen:
  The app on the phone is overriden and the new app is isntalled on the phone and run as expected

  System Information:
  Ubuntu 14.04 Trusty
  qtcreator-plugin-ubuntu 3.1.1+14.10.20141002-0ubuntu1~0trusty1

  Full error log,
  Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
  Sdk-Launcher> Executing:     /tmp/com.ubuntu.clock_3.1.102_i386.click
  Sdk-Launcher> Force Install: False
  Sdk-Launcher> Skip Uninstall:False
  Sdk-Launcher> Launcher PID: 7073
  Sdk-Launcher> Error: This application is already installed on the device, uninstall it or temporarily change the name in the manifest.json file!
  Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
  Sdk-Launcher> Executing:     /tmp/com.ubuntu.clock_3.1.102_i386.click
  Sdk-Launcher> Force Install: True
  Sdk-Launcher> Skip Uninstall:False
  Sdk-Launcher> Launcher PID: 7217
  Sdk-Launcher> Uninstalling already installed package (--force-install)
  Sdk-Launcher> Uninstalling the application failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/qtcreator-plugin-ubuntu/+bug/1377090/+subscriptions