AndroidVersion - Returns the version of your android device.
SdkVersion - Returns the SDK version of your android device.
BaseOs - Returns the base OS build the product is based on.
CodeName - Returns the current development codename, or the string "REL" if this is a release build.
Incremental - Returns the internal value used by the underlying source control to represent this build. E.g., a perforce changelist number or a git hash.
PreviewSdkVersion - Returns the developer preview revision of a prerelease SDK. This value will always be 0 on production platform builds/devices.
SecurityPatch - Returns the user-visible security patch level. This value represents the date when the device most recently applied a security patch.
@Ronald I think, this method is not supported on your device...
BTW, Are you using companion ? If yes, then try it in apk. If it doesn't work in apk also, then it means that
this method is not supported on your device...