Search code examples
androidemulationbluestacks

How can I detect if my app is working under Bluestacks/Nox or other emulator?


Is there a way to detect if my app is working under Bluestacks/Nox or other emulator?


Solution

  • by examining various fields in android.os.Build https://developer.android.com/reference/android/os/Build.html

    eg Build.BRAND and Build.BOARD