On modern versions of Android, some features that worked well on older ones often stop working. It is logical to control the version of android that is installed on the smartphone in order to automatically correct the executable code. But I could control the version of Android only in the old versions of the phone library. Now there is no such option in the library, how to solve this problem?