I have a requirement to the user cannot run the app on Emulator, SO for this, I have followed this link
and other stuff also what is available on, But these conditions working fine for Android Studio Emulator, but on NOX player unable to detect, This is a security vulnerability.