Overiding an app doesn't work

Bug #1377090 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtcreator-plugin-ubuntu
Fix Released
Critical
Benjamin Zeller
qtcreator-plugin-ubuntu (Ubuntu)
Fix Released
Undecided
Unassigned

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

Related branches

Changed in qtcreator-plugin-ubuntu:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → zbenjamin (zeller-benjamin)
Changed in qtcreator-plugin-ubuntu:
status: Triaged → In Progress
Changed in qtcreator-plugin-ubuntu:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtcreator-plugin-ubuntu - 3.1.1+14.10.20141009-0ubuntu1

---------------
qtcreator-plugin-ubuntu (3.1.1+14.10.20141009-0ubuntu1) utopic; urgency=low

  [ Benjamin Zeller ]
  * Fix Bug 1377090: "Overiding an app doesn't work". Fix Bug 1377094:
    "Click review errors prevent applications from being. deployed to
    the device" (LP: #1377090, #1377094)
  * Refactor UI of devicespage. Fix Bug #1372633 "Device tab content
    page needs to allow vertical. scrolling" (LP: #1372633)
  * Add a TaskHandler, so we can open the links directly from the Issues
    tab. Removed unused Settings. Review click packages before uploading
    them to the phone. Show review errors in Issues output view.

  [ Jean-Francois Moy ]
  * Improve the HTML5 application template (LP: #1377928)

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Thu, 09 Oct 2014 10:03:07 +0000

Changed in qtcreator-plugin-ubuntu (Ubuntu):
status: New → Fix Released
Changed in qtcreator-plugin-ubuntu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.