
android_get_device_api_level is an API 24 API, whereas flutter supports down to API 21. We have other places in the engine that use this API but they're not on paths that work < 29. Even though the ndk API seems to work on older devices we should still probably not rely on it...
buildroot
Build environment for the Flutter engine
This repository is used by the flutter/engine repository. For instructions on how to use it, see that repository's CONTRIBUTING.md file.
To update your checkout to use the latest buildroot, run gclient sync
.
To submit patches to this buildroot repository, create a branch, push to that branch, then submit a PR on GitHub for that branch.
To point the engine to a new version of buildroot after your patch is merged, update the buildroot hash in the engine's DEPS file.