create application as system app in anbox cloud appliance

Bug #2072328 reported by Mohammad Amin Salimi

This bug report will be marked for expiration in 43 days if no further activity occurs. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anbox Cloud
Incomplete
Undecided
Unassigned

Bug Description

Hi everyone,
I'm trying to install out_of_band_v2 example as system app however it keeps giving me this error :
"apk not found ..." and then shows the address of the dir i gave it to even though i tried every type of addressing the directory of the APK.
The problem is with this line which i copied it here from anbox cloud documentation for installing system app:
```
  --apk="${ADDON_DIR}"/app.apk \
```

and i'm trying to replace the "${ADDON_DIR}" with the address with or without the signs or as variable.
however i created the system app with the same apk and put the ".sh" at the end of "pre-start" hook and it worked and now i try the same thing and it doesn't work and as i said tried other ways but didn't work.
does anyone know how to fix this problem?
also does anyone know any other tool to replace the anbox cloud?
Thanks!

Revision history for this message
Alexis Janon (ajanon) wrote :

Hi!

Would you mind sharing your addon layout?
You can do so by running tree on your addon directory (see https://anbox-cloud.io/docs/tutorial/creating-addon#h-3-create-the-addon):

tree my-addon
my-addon
├── hooks
│ └── post-start
└── manifest.yaml

Changed in anbox-cloud:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.