Ubuntu Touch sdk API and desktop mode
-
Hello,
I'm a beginner, I just tried to generate an application click package.
I used clickable and when running in desktop mode, I have the error:file:///home/...mypath.../build/all/app/install/qml/Main.qml:18 module "Ubuntu.Connectivity" is not installed Command exited with non-zero exit status 255, see above for details. This is most likely not a problem with Clickable.It is present only in desktop mode. And the error appears when I add in the Main.qml:
import Ubuntu.Connectivity 1.0But why
Ubuntu.Connectivitycause an issue and notUbuntu.Components? they are both in the Ubuntu Touch SDK.I initially see this when building the Podbird application, and I reproduce it with the QML template of clickable. I would be also interested to know how the UT-sdk-API is used. I suppose that in native mode, is part of UT in the phone. But in desktop mode, is it managed by clickable within a container or have I to configure, install something else?
Thanks for your help!
-
I found my problem: my docker image was obsolete.
I delete the docker image "clickable/ubuntu-sdk 16.04-amd64"
I launch again: clickable desktop
It download a new image and run successfully without error.I did not know anything about docker, here is what I discover:
- First I read a bit on docker: https://docs.docker.com/get-started/
I understand that with docker there is the image and the container. The container is the execution of the image. The image can be downloaded from docker hub and I think this is what clickable does, the image for 16.04-amd64 is here https://hub.docker.com/r/clickable/ci-16.04-amd64 . And I suppose this image is built from: https://gitlab.com/clickable/clickable-docker-images/-/tree/master/ubuntu-sdk/16.04-amd64 - to list the images:
docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE clickable/ubuntu-sdk 16.04-armhf 62adb04a1781 13 months ago 2.92GB clickable/ubuntu-sdk 16.04-amd64 b2a675929781 13 months ago 2.77GBas you see my images were 13 months old!
- to delete the 16.04-amd64 image:
docker rmi b2a675929781 - and I delete also the 16.04-armhf image
There is probably a better solution to update a docker image, no?
- First I read a bit on docker: https://docs.docker.com/get-started/
-
@ublublu said in Ubuntu Touch sdk API and desktop mode:
There is probably a better solution to update a docker image, no?
You should be able to run
clickable updateno? -
Thank you @dobey, you're right!
That's was so simple but I did not see it.
And this is documented: http://clickable.bhdouglass.com/en/latest/commands.html#clickable-update
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login