android: detect native ABI and API level correctly

ABI detection previously did not take into account the non-standard
directory structure of Android. This has been fixed.

The API level is detected by running `getprop ro.build.version.sdk`,
since we don't want to depend on bionic, and reading system properties
ourselves is not trivially possible.
04e73d03bdLuna Schwalbe committed on 1/9/2026, 1:47:13 AM· committed by Andrew Kelleyparente8af0f2
2 files changedLine totals unavailable