better message in case we can't retrieve the API version of the device

This commit is contained in:
Laurent Sansonetti
2014-10-17 12:05:02 +02:00
parent 259c3a4172
commit cd48fb034d

View File

@@ -452,7 +452,7 @@ def device_api_version(device_id)
if $?.exitstatus == 0
api_version.to_i
else
App.fail "Could not retrieve the API version for USB-connected device `#{device_id}'"
App.fail "Could not retrieve the API version for the USB-connected device. Make sure it is properly connected and that the computer is authorized on the device to use USB debugging."
end
end