[Android-development] Incremental deployment during development with Lollipop
Eskil Abrahamsen Blomfeldt
eskil.abrahamsen-blomfeldt at theqtcompany.com
Tue Jan 13 09:59:05 CET 2015
On 01/12/2015 05:23 PM, Harri Pasanen wrote:
> I've been hesitant to update my Nexus 7 to Lollipop as that would kill
> the deploy to tmp folder feature of QC.
>
> Looking at
>
> https://code.google.com/p/android/issues/detail?id=79480
>
> comment #9 would indicate a possible workaround that should be supported
> on Lollipop, and work with Nexus devices at least.
>
> Has that been tried? If Is there any obvious why it would not work?
> To test it myself, is it enough just to compile my own androiddeployqt,
> or is there code elsewhere as well that needs to be tweaked?
Hi,
It's a good idea to have this for updated devices that support run-as, I
think.
I think androiddeployqt has to be changed to run the command which
copies the files into the application's sandbox, and then it should
update the android.app.libs_prefix data in the AndroidManifest.xml. For
a proper solution, we should add a placeholder there, like we have with
some of the others. That would mean existing manifests do not get this
feature without being updated, but we can document that in the known
issues log.
For deploying from the command line, that should be it, I think.
If you want to use Qt Creator for deploying, you also need to change it,
because at the moment it will filter out Lollipop devices if you use
debug deployment.
-- Eskil
More information about the Android-development
mailing list