unity 2019.4 ndk version code example
Example: unity find out sdk version in code
static int getSDKInt() { using (var version = new AndroidJavaClass("android.os.Build$VERSION")) { return version.GetStatic<int>("SDK_INT"); } }
static int getSDKInt() { using (var version = new AndroidJavaClass("android.os.Build$VERSION")) { return version.GetStatic<int>("SDK_INT"); } }