Set min_sdk_version for the test payload

We now have GTS tests that run on previous Android releases. Because we
didn't set the min_sdk_version of the native library, loading the
library in Microdroid failed with:
'cannot locate symbol "AVmPayload_readRollbackProtectedSecret"'.

Setting min_sdk_version makes APIs that were added after the
min_sdk_version use weak linking, so loading the library will succeed.

This patch alone is not enough to fix the GTS test failures, since
loading still fails with a different error which I'm still looking into:
'dlopen failed: cannot locate symbol "AIBinder_Class_setTransactionCodeToFunctionNameMap'

Bug: 389781453
Bug: 388702766
Test: atest MicrodroidTestApp.GTS
Change-Id: If14d82b92484bfe9d206b8d86d5ea07fad9ecfe6
2 files changed
tree: 4b05b348da18684f61ccfa62f68b3efd6b25d84a
  1. android/
  2. build/
  3. docs/
  4. guest/
  5. libs/
  6. microfuchsia/
  7. tests/
  8. .clang-format
  9. .gitignore
  10. Android.bp
  11. dice_for_avf_guest.cddl
  12. OWNERS
  13. PREUPLOAD.cfg
  14. README.md
  15. rustfmt.toml
  16. TEST_MAPPING
README.md

Android Virtualization Framework (AVF)

Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.

Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.

If you want a quick start, see the getting started guideline and follow the steps there.

For in-depth explanations about individual topics and components, visit the following links.

AVF components:

AVF APIs:

How-Tos: