Settings > Applications [X] Unknown sources Settings > Applications > Development [X] USB debugging [X] Stay awake [X] Allow mock locationsIn Android >= 4.2 the settings are hidden. Go to:
Settings > About Phone/Tablet Tap on the "Build Number" 10 times and the options show up.