Overiding an app doesn't work
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-
Full error log,
Warning: Permanently added '[127.0.0.1]:10000' (RSA) to the list of known hosts.
Sdk-Launcher> Executing: /tmp/com.
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.
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
- Zoltan Balogh: Approve
- PS Jenkins bot: Approve (continuous-integration)
-
Diff: 30 lines (+7/-2)2 files modifiedshare/qtcreator/ubuntu/scripts/qtc_device_applaunch.py (+4/-1)
src/ubuntu/ubuntupackageoutputparser.cpp (+3/-1)
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 |
Changed in qtcreator-plugin-ubuntu: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package qtcreator- plugin- ubuntu - 3.1.1+14. 10.20141009- 0ubuntu1
--------------- plugin- ubuntu (3.1.1+ 14.10.20141009- 0ubuntu1) utopic; urgency=low
qtcreator-
[ 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