Example: Emulate platforms

Note: With the latest 1.23.0 release, the Anbox Cloud documentation is moved to https://documentation.ubuntu.com/anbox-cloud/en/latest/. Hence, the information in this discourse post may be obsolete. The documentation posts on discourse will be unlisted and archived shortly.
Discourse will still be used for user engagement and release announcements.

To provide support for platforms that are not natively supported by your application (for example, you want to run an x86_64 application on Arm), use a hook.

Create a hook that installs the software for binary translation and add the top-level key provides to your addon manifest. List the architectures that the addon supports, in the value for the provides key.

name: my-addon
description: provides support for x86_64 architecture
provides:
  abi-support:
    - arm64-v8a
    - armeabi-v7a

This manifest instructs the Anbox Management Service(AMS) that an application can be scheduled on arm64-v8a and armeabi-v7a systems even if no native support is detected in the APK.