Skip to content

Instantly share code, notes, and snippets.

@Epsiloni
Created March 10, 2015 09:03
Show Gist options
  • Save Epsiloni/4be43463126d48950481 to your computer and use it in GitHub Desktop.
Save Epsiloni/4be43463126d48950481 to your computer and use it in GitHub Desktop.
Checking if Android app is debuggable in runtime.
boolean isDebuggable = (0 != (getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment