Can't install neither agl-service-helloworld nor native application
Description
Environment
Attachments
Activity

Tigran Karapetyan November 14, 2019 at 6:29 PM
After setting up halibut environment I could successfully install and run helloworld service and application. I don't know why helloworld service wouldn't run in guppy yet I'm glad I could do what I need in halibut.
I guess issue can be resolved now.

Tigran Karapetyan November 14, 2019 at 4:02 PM
Sorry, I've sent you wrong version of qml widet by mistake, here is the one, that I've tried to run
Concerning the message you referenced to. I will try to setup halibut image and sdk and try to install and run helloworld service and native application in halibut and will update you on my results.
Also I have an offtopic question does every app require matching service running or only native ones?

jose bollo November 14, 2019 at 3:33 PM
Have you noticed the message on the mailing list: https://lists.automotivelinux.org/g/agl-dev-community/message/7822
It is related to your issue because a service might be missing. At the moment, afm-util and afm-main doesn't check requirements missing. It has be be done to be able to report correctly the error.
The widget xxxxxx-qml-app.wgt doesn't install because it includes files in .. directory. See:
So please remove this ../xxx files.

Tigran Karapetyan November 14, 2019 at 1:51 PM(edited)
ps -ef|grep afm has following output for my image:
Here is the helloworld widget that failed to start. I also attach qml widget. I could install both widgets but couldn't run neither of them
journalctl -f called after failing to start widget returns following output:
For helloworld native widget:
For qml application

jose bollo November 14, 2019 at 10:58 AM
On the image you used, I can easily reinstall phone.wgt.
So, can you please upload here the helloword widget that fails.
Details
Details
Assignee

Reporter

Hi there, AGL community.
Please help me to understand reason behind errors I get when I'm trying to install helloworld native application and service and how to solve this error.
What I've done so far
I've built hello-world native application widget, copied it via scp to my target qemu machine and successfully installed it using
This comment gave following result:
But when I've tried to run installed application using
I got the following error:
What does this error mean?
My guess was that I need to run matching hello-world service (please correct me if my assumption is wrong) which I also have build and copied via ssh to my target but when I tried to install service widget with
I got this error:
journalctl -f gives following output: