The sample 'helloworld-native-application' cannot be run

Description

I followed the wiki instructions on building the native application in a Docker instance, and successfully installed the sample on the RPI3 using 'afm-util install'.

However, when I do 'afm-util run hello...', I see 'Error org.freedesktop.DBus.Error.Failed: "can't start"'.

have been successful running other code shown by "afm-util list" on the RPI.  So I believe the problem is either that the build process for the native app is incorrect, or that the bindings etc. it contains are not up to date.

This is important to me because I am trying to incorporate AGL binding functionality in 8th (https://8th-dev.com) so I can support AGL natively, and would like to use a simple application like the given sample as a template on which to base my efforts.

Environment

Eel 5.0.3 running on Raspberry Pi 3

Activity

Show:

Vaibhav Pandey 
September 24, 2019 at 2:47 PM

Hi

I am unable to run the application on the RPI 3 board.

ERROR: can't start system unit afm-appli-helloworld-native-application--0.1-fe47611-dirty--main@.service for uid 0 /usr/src/debug/af-main/guppy+gitAUTOINC+598f374d29-r0/git/src/afm-urun.c:252

 

https://docs.automotivelinux.org/docs/en/master/devguides/reference/5-building-and-running-service-natively.html

 

Please could you provide the document which helps from starting to create an application with our own services. I was unsuccessful in hello world application.

Is there any way how to remove the application and check if the services are running.

 

 

With regards

Vaibhav Pandey

Romain Forlot 
August 16, 2018 at 9:03 AM

Cool slightly smiling face I'll resolv the issue then.

Ron Aaron 
August 16, 2018 at 9:01 AM

Yes, thank you.  

Romain Forlot 
August 16, 2018 at 8:28 AM

Have you managed to make it runs ?

Romain Forlot 
August 13, 2018 at 7:53 AM

Yep, it is normal since it rely on the helloworld-service. As mentionned in my earlier comment you have to install helloworld-service before the helloworl-native application since the dependency resolution isn't available at the moment.

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Contract ID

Components

Affects versions

Priority

Created August 9, 2018 at 6:18 AM
Updated September 24, 2019 at 2:47 PM
Resolved August 16, 2018 at 9:03 AM

Flag notifications