From cd48fb034d78187630c94649c4b68ae84d5c41e2 Mon Sep 17 00:00:00 2001 From: Laurent Sansonetti Date: Fri, 17 Oct 2014 12:05:02 +0200 Subject: [PATCH] better message in case we can't retrieve the API version of the device --- lib/motion/project/template/android.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/motion/project/template/android.rb b/lib/motion/project/template/android.rb index baee6d51..290724d1 100644 --- a/lib/motion/project/template/android.rb +++ b/lib/motion/project/template/android.rb @@ -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