Code 50011 is reported when the AppSealing module detects and blocks the situation - Secured app is installed and launched from emulator environment.
AppSealing can detect & distinguish various emulators including Bluestacks, Nox app player, LD Player.
If you don't want to block users using emulator, you can allow emulator detection feature and apply AppSealing to your application.