Method: ADB#uninstall
- Defined in:
- lib/ADB.rb
#uninstall(package, target = {}, timeout = 30) ⇒ Object
uninstall an apk file to a device
:emulator, and :serial. seconds.
110 111 112 113 |
# File 'lib/ADB.rb', line 110 def uninstall(package, target={}, timeout=30) execute_adb_with(timeout, "#{which_one(target)} uninstall #{package}") raise ADBError, "Could not uninstall #{package}#{stdout_stderr_message}" unless stdout_contains "Success" end |