Example: Emulate platforms

If you want 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), you can use a hook to provide support for these platforms.

To do so, create a hook that installs the software for binary translation and add the top-level key provides to your addon manifest. The value for the provides key must list the architectures that the addon supports:

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

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