Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 807 Bytes

File metadata and controls

40 lines (33 loc) · 807 Bytes

Android Emulator Detector For Android Studio

Release

Code base on gingo/android-emulator-detector 用于沙箱检测

Usage

Add it to your build.gradle with:

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

and:

dependencies {
    compile 'com.github.coleflowers:android-emulator-detector-android-studio:1.0.2'
}

and:

 import net.skoumal.emulatordetector.EmulatorDetector;
if (EmulatorDetector.isEmulator()){
    // do something
} else {
    // do something
}