Skip to content

Instantly share code, notes, and snippets.

@jontonsoup
Last active December 17, 2015 22:29
Show Gist options
  • Save jontonsoup/5682301 to your computer and use it in GitHub Desktop.
Save jontonsoup/5682301 to your computer and use it in GitHub Desktop.
some adb checking
`adb kill-server`
`adb start-server`
path = '/Users/Jonathan/Downloads/apk/'
Dir.foreach(path) do |file|
file = File.basename(file,".*")
puts file
`adb install #{path + file} > output.txt`
`adb shell monkey -p #{file} -v 500 > output.txt`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment