Also, instead of READ_PHONE_STATE permission, try to ask for android.permission.READ_PRIVILEGED_PHONE_STATE because the GetImei and GetMeid blocks require that permission, and make sure its granted.
Also, do you even have a IMEI number ? (If you don't have a sim slot, more chance is there that your device has no IMEI number...)
AI2 is still targeting SDK 30 but will target SDK 31 in a few days. You will then have to manually change the targetSdkVersion (and set it to SDK 28) after decompiling the APK.
Note: This app will not be approved by Google in the Play Store.